Code Complexity Report

Source file: /home/sergeyb/sources/src/usr.sbin/pcidump/pcidump.c
Function nameLOCCyclomatic complexityToken count
usage 9 1 28
main 82 26 491
scanpcidomain 13 4 79
str2busdevfunc 24 6 185
probe 34 14 241
dump_pci_powerstate 12 4 77
print_pcie_ls 11 4 50
dump_pcie_linkspeed 30 8 233
dump_pcie_enhanced_caplist 23 6 128
dump_caplist 28 9 199
dump_type0 73 19 495
dump_type1 53 12 482
dump_type2 52 14 489
dump 38 8 276
hexdump 17 6 112
pci_nfuncs 7 3 49
pci_read 16 2 109
pci_readmask 16 2 109
dump_rom 25 10 207
dump_vga_bios 20 6 124
Source file: /home/sergeyb/sources/src/usr.sbin/ypset/ypset.c
Function nameLOCCyclomatic complexityToken count
usage 5 1 18
bind_tohost 45 6 321
main 35 8 208
Source file: /home/sergeyb/sources/src/usr.sbin/ldpctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 24 6 152
match_token 82 32 491
show_valid_args 25 9 117
parse_addr 27 4 202
Source file: /home/sergeyb/sources/src/usr.sbin/ldpctl/ldpctl.c
Function nameLOCCyclomatic complexityToken count
usage 6 1 25
main 180 54 1173
get_ifms_type 17 4 52
fmt_timeframe_core 28 5 176
show_interface_msg 27 7 172
show_discovery_msg 31 8 181
show_lib_msg 28 8 189
show_nbr_msg 26 7 163
show_fib_head 6 1 26
show_fib_msg 56 15 363
show_interface_head 5 1 17
show_fib_interface_msg 27 7 156
show_l2vpn_pw_msg 18 4 87
show_l2vpn_binding_msg 33 5 175
get_media_descr 8 3 48
get_linkstate 11 3 77
print_baudrate 11 4 80
Source file: /home/sergeyb/sources/src/usr.sbin/wsmoused/wsmoused.h
Source file: /home/sergeyb/sources/src/usr.sbin/wsmoused/mouse_protocols.h
Source file: /home/sergeyb/sources/src/usr.sbin/wsmoused/wsmoused.c
Function nameLOCCyclomatic complexityToken count
wsmouse_identify 54 16 205
wsmouse_init 5 1 24
skipspace 6 2 26
mouse_installmap 29 13 184
terminate 14 2 79
mouse_click 31 4 232
normalize_event 24 5 121
treat_event 9 4 57
split_event 41 10 242
wsmoused 30 6 203
usage 6 1 21
main 113 33 613
Source file: /home/sergeyb/sources/src/usr.sbin/wsmoused/mouse_protocols.c
Function nameLOCCyclomatic complexityToken count
gettoken 9 3 66
mouse_name 6 3 39
SetMouseSpeed 46 11 297
FlushInput 12 3 81
pnpgets 75 17 505
pnpparse 91 31 651
pnpproto 26 11 179
mouse_init 107 29 769
mouse_identify 32 6 233
mouse_protocol 119 34 929
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6ctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6ctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 24 6 150
match_token 74 29 448
show_valid_args 26 9 119
parse_addr 17 3 122
parse_prefix 26 6 201
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6ctl/ospf6ctl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 207 74 1272
show_summary_msg 34 4 178
get_ifms_type 15 5 52
show_interface_msg 24 4 137
show_interface_detail_msg 58 7 340
print_link 7 2 24
fmt_timeframe 7 2 32
fmt_timeframe_core 28 5 176
log_id 10 2 54
log_adv_rtr 10 2 54
show_database_head 49 15 266
show_database_msg 41 7 218
print_ls_type 21 8 79
show_db_hdr_msg_detail 26 8 157
print_rtr_link_type 15 5 52
print_ospf_flags 9 4 55
print_asext_flags 9 4 55
print_prefix_opt 14 6 74
show_db_msg_detail 207 28 1614
show_nbr_msg 24 5 149
print_ospf_options 11 6 71
show_nbr_detail_msg 33 3 206
show_rib_msg 36 8 205
show_rib_head 38 11 192
print_ospf_rtr_flags 9 5 59
show_rib_detail_msg 77 17 442
show_fib_head 6 1 24
show_fib_msg 42 11 262
get_media_descr 8 3 48
get_linkstate 11 3 77
print_baudrate 11 4 80
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/modify.c
Function nameLOCCyclomatic complexityToken count
ldap_delete 56 16 382
ldap_add 89 32 642
ldap_modify 122 37 784
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/filter.c
Function nameLOCCyclomatic complexityToken count
ldap_filt_eq 23 8 162
ldap_filt_subs_value 42 12 244
ldap_filt_subs 26 8 161
ldap_filt_and 8 2 48
ldap_filt_or 8 2 48
ldap_filt_not 8 2 48
ldap_filt_presence 13 4 85
ldap_matches_filter 23 9 115
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/imsgev.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/ber.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 8 2 36
log_verbose 4 1 11
logit 7 1 38
vlog 28 4 181
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
fatal 12 3 61
fatalx 5 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/schema.c
Function nameLOCCyclomatic complexityToken count
attr_oid_cmp 4 1 26
obj_oid_cmp 4 1 26
oidname_cmp 4 1 26
symoid_cmp 4 1 26
lookup_attribute_by_name 9 2 53
lookup_attribute_by_oid 6 1 37
lookup_attribute 6 2 36
lookup_object_by_oid 6 1 37
lookup_object_by_name 9 2 53
lookup_object 6 2 36
lookup_symbolic_oid 29 6 197
push_symbolic_oid 18 3 116
push_attr 19 4 113
push_obj 19 4 113
is_oidstr 5 1 26
push_name 19 4 112
schema_getc 23 6 123
schema_ungetc 9 3 52
findeol 17 5 74
schema_lex 69 31 449
schema_new 12 2 76
schema_err 12 2 82
schema_link_attr_name 19 3 119
schema_link_attr_names 9 2 53
schema_link_obj_name 19 3 119
schema_link_obj_names 9 2 53
schema_parse_names 23 6 112
schema_free_name_list 10 2 53
schema_parse_attrlist 42 10 217
schema_parse_objlist 39 10 201
schema_validate_match_rule 20 7 159
schema_parse_attributetype 170 59 1203
schema_parse_objectclass 113 35 737
schema_parse_objectidentifier 23 6 137
schema_parse 39 10 246
schema_dump_names 28 14 218
schema_dump_attrlist 31 14 230
schema_dump_objlist 30 14 230
schema_dump_object 38 20 294
schema_dump_attribute 60 39 500
schema_dump_match_rule 12 8 108
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/ber.c
Function nameLOCCyclomatic complexityToken count
ber_get_element 9 2 53
ber_set_header 7 2 42
ber_link_elements 11 5 57
ber_unlink_elements 14 4 70
ber_replace_elements 9 1 55
ber_add_sequence 8 2 40
ber_add_set 8 2 40
ber_add_enumerated 22 9 150
ber_add_integer 22 9 150
ber_get_integer 7 2 36
ber_get_enumerated 7 2 36
ber_add_boolean 10 3 59
ber_get_boolean 7 2 40
ber_add_string 4 1 27
ber_add_nstring 17 3 106
ber_get_string 7 2 35
ber_get_nstring 8 2 46
ber_add_bitstring 17 3 104
ber_get_bitstring 8 2 46
ber_add_null 8 2 40
ber_get_null 6 2 24
ber_add_eoc 8 2 40
ber_get_eoc 6 2 24
ber_oid2ber 22 10 187
ber_string2oid 16 6 151
ber_add_oid 22 5 140
ber_add_noid 9 2 69
ber_add_oidstring 7 2 47
ber_get_oid 22 6 182
ber_printf_elements 101 32 583
ber_scanf_elements 115 34 626
ber_write_elements 21 7 155
ber_read_elements 15 5 83
ber_free_element 11 8 74
ber_free_elements 13 9 87
ber_calc_len 20 11 151
ber_dump_element 35 15 192
ber_dump_header 35 12 266
ber_putc 6 2 36
ber_write 6 2 45
get_id 26 6 173
get_len 32 8 174
ber_read_element 97 34 605
ber_readbuf 16 3 93
ber_set_readbuf 5 1 38
ber_get_writebuf 7 2 43
ber_set_application 4 1 27
ber_free 4 1 16
ber_getc 9 2 53
ber_read 21 7 132
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/search.c
Function nameLOCCyclomatic complexityToken count
uniqdn_cmp 8 3 72
is_operational 8 2 38
should_include_attribute 21 11 147
search_result 56 11 359
search_close 21 3 159
is_child_of 11 3 93
check_search_entry 35 8 224
mk_dup 14 3 112
is_dup 7 1 54
conn_search 162 38 1061
ldap_search_root_dse 44 3 324
ldap_search_subschema 72 9 503
add_index 19 3 121
plan_get_attr 13 3 83
search_planner 136 40 878
filter_free 17 4 107
ldap_search 141 28 869
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/uuid.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/evbuffer_tls.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/ldapd.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 26
ldapd_sig_handler 6 3 36
ldapd_sigchld_handler 27 8 137
main 110 26 630
ldapd_cleanup 13 2 84
ldapd_imsgev 32 9 134
ldapd_needfd 4 1 14
ldapd_auth_classful 34 7 249
ldapd_auth_request 16 2 155
ldapd_log_verbose 8 2 52
ldapd_open_request 22 5 172
start_child 41 10 220
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 36 10 299
control_listen 11 3 78
control_cleanup 7 2 35
control_accept 30 8 217
control_connbyfd 9 2 42
control_close 16 3 109
send_stats 22 4 218
control_imsgev 36 7 226
control_needfd 4 1 14
control_close_any 12 2 64
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/logmsg.c
Function nameLOCCyclomatic complexityToken count
print_host 9 2 63
hexdump 19 7 136
ldap_debug_elements 235 74 1109
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/btest.c
Function nameLOCCyclomatic complexityToken count
main 94 25 715
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/ldape.c
Function nameLOCCyclomatic complexityToken count
ldape_sig_handler 15 4 69
send_ldap_extended_response 31 8 201
ldap_refer 67 14 412
send_ldap_result 5 1 33
ldap_respond 7 2 45
ldap_abandon 17 3 88
ldap_unbind 7 1 36
ldap_compare 35 11 295
ldap_starttls 9 2 46
ldap_extended 30 5 196
ldape 112 27 913
ldape_imsgev 29 8 120
ldape_needfd 12 3 50
ldape_auth_result 12 3 82
ldape_open_result 26 6 172
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/auth.c
Function nameLOCCyclomatic complexityToken count
aci_matches 62 27 348
authorized 46 23 332
send_auth_request 22 4 170
check_password 41 14 368
ldap_auth_sasl 33 10 242
ldap_auth_simple 71 25 488
ldap_bind_continue 15 2 77
ldap_bind 35 7 191
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/btree.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/schema.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/uuid.c
Function nameLOCCyclomatic complexityToken count
time_cmp 12 5 71
get_node_addr 35 14 183
uuid_create 44 7 287
uuid_to_string 16 1 119
main 15 3 94
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/syntax.c
Function nameLOCCyclomatic complexityToken count
syntax_cmp 4 1 34
syntax_lookup 5 1 40
syntax_is_octet_string 4 1 19
syntax_is_directory_string 4 2 26
syntax_is_printable_string 10 5 83
syntax_is_ia5_string 9 3 53
syntax_is_integer 11 5 73
syntax_is_dn 6 2 34
syntax_is_oid 15 7 92
syntax_is_uuid 12 2 66
syntax_is_numeric_string 8 4 60
syntax_is_time 29 16 223
syntax_is_gentime 4 1 28
syntax_is_utctime 4 1 28
syntax_is_country 6 2 35
syntax_is_bit_string 14 7 81
syntax_is_boolean 4 2 35
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/util.c
Function nameLOCCyclomatic complexityToken count
bsnprintf 11 3 69
normalize_dn 16 7 107
has_suffix 8 2 61
has_prefix 8 2 51
ber2db 45 5 320
db2ber 39 5 251
accept_reserve 9 2 53
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/imsgev.c
Function nameLOCCyclomatic complexityToken count
imsgev_init 14 1 124
imsgev_compose 9 2 70
imsgev_close 5 1 20
imsgev_clear 6 1 36
imsgev_add 14 5 101
imsgev_dispatch 46 15 272
imsgev_disconnect 4 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/attributes.c
Function nameLOCCyclomatic complexityToken count
ldap_get_attribute 15 6 102
ldap_find_attribute 12 3 78
ldap_find_value 12 5 79
ldap_add_attribute 29 8 167
ldap_set_values 18 2 104
ldap_merge_values 20 4 123
ldap_del_attribute 26 5 137
ldap_del_values 35 8 214
ldap_strftime 7 1 42
ldap_now 4 1 15
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/btree.c
Function nameLOCCyclomatic complexityToken count
memncmp 12 5 80
memnrcmp 20 10 149
btree_cmp 4 1 31
common_prefix 38 10 251
remove_prefix 11 4 94
expand_prefix 9 1 82
bt_cmp 10 2 94
btval_reset 10 4 54
mpage_cmp 8 3 44
mpage_lookup 12 2 77
mpage_add 6 1 48
mpage_free 7 2 29
mpage_del 7 1 59
mpage_flush 8 2 45
mpage_copy 16 3 134
mpage_prune 13 5 88
mpage_dirty 9 2 58
mpage_touch 22 5 157
btree_read_page 23 5 165
btree_sync 6 2 32
btree_txn_begin 41 8 251
btree_txn_abort 27 5 176
btree_txn_commit 87 17 510
btree_write_header 30 5 193
btree_read_header 37 7 219
btree_write_meta 32 5 271
btree_is_meta_page 23 5 142
btree_read_meta 67 15 368
btree_open_fd 47 8 370
btree_open 18 4 111
btree_ref 5 1 25
btree_close 15 3 85
btree_search_node 50 12 360
cursor_pop_page 9 1 51
cursor_push_page 11 2 73
btree_get_mpage 21 5 134
concat_prefix 13 2 104
find_common_prefix 34 9 262
btree_search_page_root 53 17 391
btree_search_page 37 11 249
btree_read_data 52 10 371
btree_txn_get 36 11 227
btree_sibling 39 9 262
bt_set_key 24 4 163
btree_cursor_next 34 7 236
btree_cursor_set 40 9 285
btree_cursor_first 18 5 137
btree_cursor_get 38 12 217
btree_new_page 27 6 207
bt_leaf_size 9 2 66
bt_branch_size 8 2 46
btree_write_overflow_data 28 6 187
btree_add_node 75 19 580
btree_del_node 32 7 261
btree_txn_cursor_open 22 7 122
btree_cursor_close 9 3 42
btree_update_key 36 6 284
btree_adjust_prefix 37 6 281
btree_move_node 127 29 1044
btree_merge 63 12 532
btree_rebalance 67 14 510
btree_txn_del 58 19 367
bt_reduce_separator 35 7 265
btree_split 141 26 1153
btree_txn_put 90 23 581
btree_compact_tree 54 14 408
btree_compact 59 12 372
btree_revert 7 2 55
btree_set_cache_size 4 1 21
btree_get_flags 4 1 18
btree_get_path 4 1 14
btree_stat 14 2 120
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/validate.c
Function nameLOCCyclomatic complexityToken count
validate_required_attributes 16 3 82
validate_attribute 37 10 221
validate_dn 77 18 429
has_attribute 11 3 52
validate_allowed_attribute 16 5 91
olist_push 14 4 103
olist_free 11 3 54
is_super 10 5 67
validate_entry 100 25 600
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/aldap.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/conn.c
Function nameLOCCyclomatic complexityToken count
ldap_application 4 1 12
request_free 6 2 29
conn_close 25 4 177
conn_disconnect 5 1 24
request_dispatch 34 6 205
conn_dispatch 40 5 266
conn_read 16 3 106
conn_write 16 5 105
conn_err 11 3 79
conn_accept 67 15 450
conn_by_fd 9 2 37
conn_close_any 16 3 72
conn_tls_init 15 3 109
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/ldapd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/evbuffer_tls.c
Function nameLOCCyclomatic complexityToken count
bufferevent_add 10 2 54
buffertls_readcb 63 17 433
buffertls_writecb 46 13 310
buffertls_handshakecb 37 9 247
buffertls_set 9 1 73
buffertls_accept 10 1 81
buffertls_connect 10 1 81
evtls_read 18 7 145
evtls_write 9 2 58
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/namespace.c
Function nameLOCCyclomatic complexityToken count
namespace_begin_txn 23 7 135
namespace_begin 4 1 27
namespace_commit 19 5 111
namespace_abort 7 1 35
namespace_open 23 6 189
namespace_reopen 12 2 94
namespace_reopen_data 9 2 43
namespace_reopen_indx 9 2 43
namespace_set_fd 12 3 72
namespace_set_data_fd 4 1 27
namespace_set_indx_fd 4 1 27
namespace_close 30 6 202
namespace_remove 5 1 26
namespace_find 23 5 142
namespace_get 10 2 58
namespace_exists 8 2 44
namespace_ber2db 5 1 31
namespace_db2ber 4 1 24
namespace_put 29 6 201
namespace_add 4 1 30
namespace_update 4 1 30
namespace_del 18 2 153
namespace_has_referrals 4 1 19
namespace_lookup_base 18 7 123
namespace_for_base 4 1 17
namespace_referrals 10 4 60
namespace_has_index 12 3 71
namespace_queue_request 12 3 73
namespace_queue_replay 18 5 124
namespace_queue_schedule 7 1 40
namespace_cancel_conn 15 3 93
namespace_conn_queue_count 13 2 64
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/matching.c
Function nameLOCCyclomatic complexityToken count
match_rule_lookup 14 6 116
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/index.c
Function nameLOCCyclomatic complexityToken count
index_attribute 34 6 272
index_rdn_key 26 4 185
index_rdn 17 4 133
unindex_attribute 31 5 237
index_entry 14 3 99
unindex_rdn 16 4 114
unindex_entry 14 3 99
index_to_dn 45 8 375
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripctl/ripctl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 153 48 953
get_ifms_type 17 4 52
fmt_timeframe_core 29 5 179
mask2prefixlen 7 2 32
show_interface_msg 25 5 146
show_rib_msg 23 4 120
show_nbr_msg 25 5 150
show_fib_head 5 1 22
show_fib_msg 41 11 246
show_interface_head 5 1 17
show_fib_interface_msg 27 7 156
get_media_descr 8 3 48
get_linkstate 11 3 77
print_baudrate 11 4 80
Source file: /home/sergeyb/sources/src/usr.sbin/ripctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 24 6 150
match_token 74 29 448
show_valid_args 25 9 117
parse_addr 13 3 83
parse_prefix 21 4 151
prefixlen2mask 6 2 30
Source file: /home/sergeyb/sources/src/usr.sbin/ftp-proxy/filter.c
Function nameLOCCyclomatic complexityToken count
add_addr 14 2 136
add_nat 22 11 198
add_rdr 20 10 181
do_commit 6 2 32
do_rollback 6 2 32
init_filter 17 6 107
prepare_commit 16 2 115
prepare_rule 56 8 578
Source file: /home/sergeyb/sources/src/usr.sbin/ftp-proxy/ftp-proxy.c
Function nameLOCCyclomatic complexityToken count
client_error 15 5 119
client_parse 17 12 132
client_parse_anon 14 3 88
client_parse_cmd 29 11 226
client_read 26 5 163
drop_privs 14 7 105
end_session 30 12 208
exit_daemon 11 3 61
get_line 26 8 162
handle_connection 121 24 906
handle_signal 5 1 27
init_session 21 2 128
logmsg 17 3 102
main 176 45 1098
parse_port 45 33 456
pick_proxy_port 5 1 18
proxy_reply 40 13 248
server_error 15 5 119
server_parse 12 8 98
allow_data_connection 70 21 543
server_read 27 5 172
sock_ntop 17 3 132
usage 8 1 23
rdaemon 25 7 138
Source file: /home/sergeyb/sources/src/usr.sbin/ftp-proxy/filter.h
Source file: /home/sergeyb/sources/src/usr.sbin/traceroute/traceroute.h
Source file: /home/sergeyb/sources/src/usr.sbin/traceroute/worker.c
Function nameLOCCyclomatic complexityToken count
print_exthdr 84 22 471
check_tos 10 2 93
wait_for_reply 11 2 83
dump_packet 12 3 74
build_probe4 48 7 393
build_probe6 31 4 236
send_probe 26 7 156
deltaT 7 1 58
pr_type 6 2 26
packet_ok 15 3 83
packet_ok4 67 30 549
packet_ok6 94 41 780
print 15 5 123
get_udphdr 35 11 246
icmp_code 14 3 65
icmp4_code 61 16 256
icmp6_code 30 8 128
in_cksum 15 3 94
inetname 25 7 196
print_asn 57 10 644
map_tos 43 3 253
gettime 7 2 41
Source file: /home/sergeyb/sources/src/usr.sbin/traceroute/traceroute.c
Function nameLOCCyclomatic complexityToken count
main 576 157 4020
usage 18 2 44
Source file: /home/sergeyb/sources/src/usr.sbin/mailwrapper/mailwrapper.c
Function nameLOCCyclomatic complexityToken count
initarg 7 2 51
addarg 10 3 85
main 60 15 438
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/l2tp.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-stp.c
Function nameLOCCyclomatic complexityToken count
stp_print 61 16 283
stp_print_cbpdu 122 28 625
stp_print_tbpdu 6 1 21
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/afnum.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-tftp.c
Function nameLOCCyclomatic complexityToken count
tftp_print 50 10 279
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-smb.c
Function nameLOCCyclomatic complexityToken count
smbfind 7 3 60
trans2_findfirst 10 2 50
trans2_qfsinfo 25 5 113
print_trans2 47 8 411
print_browse 41 11 230
print_ipc 7 3 48
print_trans 37 6 336
print_negprot 19 7 157
print_sesssetup 23 7 168
print_smb 65 17 486
nbt_tcp_print 61 16 314
nbt_udp137_print 104 36 742
nbt_udp138_print 10 3 62
netbeui_print 67 18 372
ipx_netbios_print 14 4 99
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/radius.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-etherip.c
Function nameLOCCyclomatic complexityToken count
etherip_print 68 18 418
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-cnfp.c
Function nameLOCCyclomatic complexityToken count
cnfp_print 68 16 644
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/bpf_dump.c
Function nameLOCCyclomatic complexityToken count
bpf_dump 26 8 191
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ike.c
Function nameLOCCyclomatic complexityToken count
ike_tab_offset 8 2 53
ike_get_cookie 13 3 121
ike_print 48 9 322
ike_pl_sa_print 30 8 194
ike_attribute_print 59 12 423
ike_pl_transform_print 49 11 332
ike_pl_proposal_print 31 9 218
ike_pl_ke_print 9 3 41
ipsec_id_print 74 24 538
ike_pl_delete_print 34 9 259
ike_pl_notification_print 71 18 514
ike_pl_vendor_print 22 7 171
ike_cfg_attribute_print 72 32 538
ike_pl_attribute_print 16 4 129
ike_pl_print 99 42 505
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/addrtoname.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-fddi.c
Function nameLOCCyclomatic complexityToken count
print_fddi_fc 50 14 188
extract_fddi_addrs 14 4 116
fddi_print 18 3 109
fddi_smt_print 4 1 17
fddi_if_print 48 14 335
fddi_if_print 5 1 24
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-domain.c
Function nameLOCCyclomatic complexityToken count
ns_nskip 27 9 167
blabel_print 31 7 232
labellen 20 6 141
ns_nprint 70 20 422
ns_cprint 10 3 57
ns_qprint 24 8 171
ns_rprint 182 59 1158
ns_print 159 71 1062
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/decnet.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-timed.c
Function nameLOCCyclomatic complexityToken count
timed_print 43 13 299
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/igrp.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-enc.c
Function nameLOCCyclomatic complexityToken count
enc_if_print 37 6 199
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-rt6.c
Function nameLOCCyclomatic complexityToken count
rt6_print 48 9 339
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/setsignal.c
Function nameLOCCyclomatic complexityToken count
setsignal 12 4 84
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-icmp6.c
Function nameLOCCyclomatic complexityToken count
icmp6_cksum 24 2 166
icmp6_print 352 86 1879
icmp6_opt_print 185 39 1301
mld6_print 11 2 75
mldv2_report_print 57 8 353
mldv2_query_print 69 12 434
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-atm.c
Function nameLOCCyclomatic complexityToken count
atm_if_print 75 25 498
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-atalk.c
Function nameLOCCyclomatic complexityToken count
atalk_print 19 2 138
atalk_print_llap 53 8 353
aarp_print 25 8 186
ddp_print 30 7 199
atp_print 76 20 458
atp_bitmap_print 23 6 129
nbp_print 69 23 474
print_cstring 21 5 119
nbp_tuple_print 20 6 152
nbp_name_print 15 4 114
ataddr_string 29 6 267
ddpskt_string 9 2 52
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-hsrp.c
Function nameLOCCyclomatic complexityToken count
hsrp_print 38 5 274
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ripng.c
Function nameLOCCyclomatic complexityToken count
rip6_entry_print 10 3 73
ripng_print 57 15 390
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/llc.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ike.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-frag6.c
Function nameLOCCyclomatic complexityToken count
frag6_print 26 4 166
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-pfsync.c
Function nameLOCCyclomatic complexityToken count
pfsync_if_print 18 3 101
pfsync_ip_print 16 3 118
pfsync_print 57 15 333
pfsync_print_clr 14 4 116
pfsync_print_state 7 1 41
pfsync_print_ins_ack 7 1 44
pfsync_print_upd_c 7 1 44
pfsync_print_upd_req 7 1 44
pfsync_print_del_c 7 1 44
pfsync_print_bus 26 3 121
pfsync_print_tdb 7 1 51
pfsync_print_eof 4 1 17
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ntp.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-dhcp6.c
Function nameLOCCyclomatic complexityToken count
dhcp6opttab_init 5 1 19
dhcp6opttab_byname 9 3 47
dhcp6opttab_bycode 9 3 41
dhcp6ext_print 71 18 396
dhcp6_print 105 27 701
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-tcp.c
Function nameLOCCyclomatic complexityToken count
tcp_cksum 23 1 190
tcp6_cksum 24 2 166
tcp_print 419 123 2706
print_tcp_rst_data 18 5 85
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/gmt2local.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ip6opts.c
Function nameLOCCyclomatic complexityToken count
ip6_opt_print 55 13 311
hbhopt_print 17 2 121
dstopt_print 19 2 123
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/smb.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/dhcp6.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-dvmrp.c
Function nameLOCCyclomatic complexityToken count
dvmrp_print 56 13 275
print_report 43 11 268
print_probe 22 7 167
print_neighbors 25 8 155
print_neighbors2 43 14 262
print_prune 15 3 98
print_graft 8 3 57
print_graft_ack 8 3 57
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-pim.c
Function nameLOCCyclomatic complexityToken count
pim_print 41 11 181
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ip6.c
Function nameLOCCyclomatic complexityToken count
ip6_print 161 49 1026
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/nfsfh.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ipx.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ospf6.c
Function nameLOCCyclomatic complexityToken count
ospf6_print_seqage 14 3 97
ospf6_print_bits 10 3 56
ospf6_print_ls_type 68 13 288
ospf6_print_lshdr 12 1 80
ospf6_print_lsaprefix 20 3 137
ospf6_print_lsa 184 33 1202
ospf6_decode_v3 114 24 637
ospf6_print 40 7 244
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ethertype.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/appletalk.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/fddi.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-gre.c
Function nameLOCCyclomatic complexityToken count
gre_print 22 5 98
gre_print_0 98 28 517
gre_print_1 77 21 370
gre_sre_print 18 3 88
gre_sre_ip_print 28 8 150
gre_sre_asn_print 26 8 133
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/setsignal.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ospf6.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-udp.c
Function nameLOCCyclomatic complexityToken count
vat_print 20 5 191
rtp_print 64 13 378
rtcp_print 78 17 623
udp_cksum 23 1 190
udp6_cksum 24 2 166
udp_print 248 84 1952
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ospf.c
Function nameLOCCyclomatic complexityToken count
ospf_print_seqage 14 3 97
ospf_print_bits 10 3 56
ospf_print_ls_type 38 7 161
ospf_print_lshdr 14 1 93
ospf_print_lsa 145 23 906
ospf_decode_v2 113 24 639
ospf_print 70 12 438
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ntp.c
Function nameLOCCyclomatic complexityToken count
ntp_print 100 19 586
p_sfix 11 1 62
p_ntp_time 15 2 79
p_ntp_delta 42 8 218
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-netbios.c
Function nameLOCCyclomatic complexityToken count
netbios_print 15 4 78
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-arp.c
Function nameLOCCyclomatic complexityToken count
arp_print 64 17 559
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-bgp.c
Function nameLOCCyclomatic complexityToken count
num_or_str 9 4 65
bgp_notify_minor 23 8 134
decode_prefix4 24 5 205
decode_prefix6 23 5 193
bgp_attr_print 279 72 1471
bgp_open_capa_print 73 17 399
bgp_open_print 47 7 300
bgp_update_print 95 25 585
bgp_notification_print 52 11 312
bgp_route_refresh_print 14 2 78
bgp_header_print 30 6 137
bgp_print 61 13 333
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/tcpdump.c
Function nameLOCCyclomatic complexityToken count
lookup_printer 9 3 47
init_pfosfp 8 2 32
pcap_print_linktype 8 2 44
pcap_list_linktypes 19 6 136
main 248 76 1254
cleanup 24 4 171
gotchld 14 7 84
default_print_hexl 37 9 301
default_print_ascii 12 6 75
default_print_unaligned 24 7 151
default_print 29 8 181
set_slave_signals 7 1 34
usage 11 1 43
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/savestr.c
Function nameLOCCyclomatic complexityToken count
savestr 23 4 116
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/netbios.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-sunrpc.c
Function nameLOCCyclomatic complexityToken count
sunrpcrequest_print 27 7 193
progstr 15 4 95
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ppp.c
Function nameLOCCyclomatic complexityToken count
ppp_hdlc_print 32 9 161
handle_lcp 48 16 253
print_lcp_config_options 73 27 503
handle_chap 38 7 205
handle_pap 41 8 207
handle_ipcp 40 6 274
handle_ipv6cp 31 4 172
ppp_if_print 46 13 256
ppp_ether_if_print 99 26 522
pppoe_if_print 155 42 755
ppp_if_print 7 1 30
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-slow.c
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/addrtoname.c
Function nameLOCCyclomatic complexityToken count
intoa 25 4 134
getname 53 15 422
getname6 38 12 286
lookup_emem 23 6 175
lookup_bytestring 35 10 303
lookup_nsap 36 10 296
lookup_protoid 19 5 156
etheraddr_string 19 5 130
linkaddr_string 25 7 196
etherproto_string 21 3 169
protoid_string 23 5 170
llcsap_string 14 3 113
isonsap_string 20 4 136
tcpport_string 14 3 114
udpport_string 14 3 114
ipproto_string 4 1 15
init_servarray 29 6 194
init_ipprotoarray 16 5 115
init_eprotoarray 14 3 104
init_protoidarray 15 2 115
init_etherarray 27 8 175
init_llcsaparray 13 3 89
init_addrtoname 16 3 58
dnaddr_string 15 4 99
newhnamemem 15 3 74
newh6namemem 15 3 74
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ipx.c
Function nameLOCCyclomatic complexityToken count
ipx_print 17 1 138
ipxaddr_string 7 1 66
ipx_decode 25 6 130
ipx_sap_print 45 10 311
ipx_rip_print 33 6 215
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ospf.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/privsep.c
Function nameLOCCyclomatic complexityToken count
priv_init 53 15 447
priv_exec 126 31 666
impl_open_bpf 23 3 182
impl_open_dump 19 4 115
impl_open_output 14 2 89
impl_setfilter 6 2 41
impl_init_done 7 1 38
impl_gethostbyaddr 17 3 105
impl_ether_ntohost 11 2 65
impl_getrpcbynumber 12 2 63
impl_getserventries 17 3 87
impl_getprotoentries 16 3 78
impl_localtime 17 4 129
impl_getlines 37 8 249
impl_pcap_stats 9 2 57
priv_init_done 8 2 44
priv_gethostbyaddr 9 2 79
priv_ether_ntohost 8 2 65
priv_getrpcbynumber 8 2 61
priv_getserventries 6 2 28
priv_getserventry 10 3 81
priv_getprotoentries 6 2 28
priv_getprotoentry 9 3 65
priv_localtime 26 4 183
priv_getlines 7 2 42
priv_pcap_stats 8 2 49
priv_getline 6 2 40
may_read 18 6 91
must_read 17 6 86
must_write 17 6 88
test_state 19 5 103
logmsg 10 2 53
write_command 4 1 23
write_zero 5 1 25
write_string 7 1 46
write_block 5 1 37
read_string 10 3 71
read_block 11 3 75
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/pfctl_osfp.c
Function nameLOCCyclomatic complexityToken count
pfctl_file_fingerprints 138 39 873
pfctl_clear_fingerprints 5 2 26
pfctl_flush_my_fingerprints 11 2 57
pfctl_load_fingerprints 18 4 100
pfctl_show_fingerprints 8 1 40
pfctl_get_fingerprint 87 17 499
pfctl_lookup_fingerprint 70 16 422
lookup_name_list 8 2 50
add_fingerprint 47 12 315
import_fingerprint 31 6 199
fingerprint_name_entry 21 6 142
print_name_list 11 1 75
sort_name_list 33 7 200
get_int 80 32 487
get_str 20 4 141
get_tcpopts 79 22 467
get_field 22 8 146
print_ioctl 91 21 797
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/bootp.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/nameser.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-wb.c
Function nameLOCCyclomatic complexityToken count
wb_id 39 6 314
wb_rreq 13 3 106
wb_preq 11 3 88
wb_prep 29 7 242
wb_dops 29 9 167
wb_rrep 18 3 153
wb_drawop 16 3 134
wb_print 43 16 261
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-carp.c
Function nameLOCCyclomatic complexityToken count
carp_print 29 8 202
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ofp_map.c
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-gtp.c
Function nameLOCCyclomatic complexityToken count
gtp_print 15 3 91
gtp_decode_ie 43 10 221
gtp_print_tbcd 15 4 88
gtp_print_user_address 23 11 146
gtp_print_apn 19 6 107
gtp_print_str 7 3 60
gtp_v0_print 39 7 275
gtp_v0_print_prime 15 2 108
gtp_v0_print_tv 130 21 800
gtp_v0_print_tlv 76 21 409
gtp_v1_print 74 22 477
gtp_v1_print_ctrl 8 2 66
gtp_v1_print_user 24 6 163
gtp_v1_print_prime 14 2 101
gtp_v1_print_tv 197 32 1304
gtp_v1_print_tlv 261 79 1180
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-llc.c
Function nameLOCCyclomatic complexityToken count
llc_print 162 48 1123
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-mpls.c
Function nameLOCCyclomatic complexityToken count
mpls_print 64 24 301
controlword_tryprint 15 3 98
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-sl.c
Function nameLOCCyclomatic complexityToken count
sl_if_print 31 8 182
sl_bsdos_if_print 22 5 138
sliplink_print 34 7 243
print_sl_change 10 2 56
print_sl_winchange 13 3 63
compressed_sl_print 37 9 259
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-lldp.c
Function nameLOCCyclomatic complexityToken count
lldp_print_str 8 3 57
lldp_print_addr 7 2 47
lldp_print_id 70 18 290
lldp_print 95 17 490
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/privsep_fdpass.c
Function nameLOCCyclomatic complexityToken count
send_fd 32 4 223
receive_fd 42 6 255
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-skip.c
Function nameLOCCyclomatic complexityToken count
skip_alg_to_name 16 5 82
skip_print_old 109 16 621
skip_protocol_name 19 14 96
skip_print_next 13 8 124
skip_print 125 26 835
ah_print 70 17 439
esp_print 54 13 334
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-mobile.c
Function nameLOCCyclomatic complexityToken count
mobile_print 33 8 211
mob_in_cksum 19 3 117
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/extract.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-udpencap.c
Function nameLOCCyclomatic complexityToken count
udpencap_print 24 7 145
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ip.c
Function nameLOCCyclomatic complexityToken count
print_mtrace 9 2 82
print_mresp 9 2 82
igmp_print 69 19 482
ip_printroute 18 8 149
ip_optprint 50 15 248
in_cksum 17 3 107
ip_print 222 56 1422
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-radius.c
Function nameLOCCyclomatic complexityToken count
r_print_att 27 9 199
r_print_int 7 2 51
r_print_address 7 2 52
r_print_string 13 3 77
r_print_hex 7 2 57
radius_print 43 10 251
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-nfs.c
Function nameLOCCyclomatic complexityToken count
print_int64 36 9 194
parse_sattr3 38 7 320
print_sattr3 17 7 116
nfsreply_print 12 3 102
parsereq 20 3 156
parsefh 16 3 91
parsefn 20 2 117
parsefhn 8 2 45
nfsreq_print 253 77 1651
nfs_printfh 18 3 133
xid_map_enter 27 6 215
xid_map_find 48 14 286
parserep 46 8 269
parsestatus 17 4 86
parsefattr 64 6 512
parseattrstat 10 3 62
parsediropres 12 4 75
parselinkres 13 4 81
parsestatfs 48 11 332
parserddires 19 5 112
parse_wcc_attr 12 1 92
parse_pre_op_attr 15 3 80
parse_post_op_attr 13 3 79
parse_wcc_data 10 4 59
parsecreateopres 27 8 158
parsewccres 7 2 45
parsev3rddirres 20 6 113
parsefsinfo 33 6 230
parsepathconf 25 9 170
interp_reply 292 116 1588
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-vrrp.c
Function nameLOCCyclomatic complexityToken count
vrrp_print 51 12 335
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/util.c
Function nameLOCCyclomatic complexityToken count
fn_print 24 6 112
fn_printn 24 6 116
ts_print 36 11 244
relts_print 19 4 129
tok2str 13 4 85
error 10 1 65
warning 9 1 60
copy_argv 20 6 141
read_infile 28 7 188
safeputs 7 2 25
safeputchar 9 3 53
printb 25 9 148
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/gtp.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-igrp.c
Function nameLOCCyclomatic complexityToken count
igrp_entry_print 24 5 191
igrp_print 50 8 334
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-vqp.c
Function nameLOCCyclomatic complexityToken count
vqp_print_opcode 20 5 64
vqp_print_rcode 26 7 84
print_hex 5 2 26
vqp_print_type 56 14 285
vqp_print 35 4 215
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/in_cksum.c
Function nameLOCCyclomatic complexityToken count
in_cksum_shouldbe 9 1 57
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-iapp.c
Function nameLOCCyclomatic complexityToken count
iapp_print 42 8 280
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-pflog.c
Function nameLOCCyclomatic complexityToken count
pflog_if_print 115 32 668
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ofp_map.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-null.c
Function nameLOCCyclomatic complexityToken count
null_print 28 10 125
loop_if_print 5 1 45
null_if_print 64 21 405
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/savestr.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/nfsv2.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-snmp.c
Function nameLOCCyclomatic complexityToken count
asn1_parse 212 51 1232
asn1_print 99 30 588
asn1_decode 19 6 116
varbind_print 60 26 413
snmppdu_print 64 19 421
trap_print 68 13 401
snmp_print 74 23 442
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/smbutil.c
Function nameLOCCyclomatic complexityToken count
interpret_dos_date 12 1 191
make_unix_date 14 2 111
make_unix_date2 8 1 70
interpret_long_date 12 2 111
name_interpret 36 13 251
name_ptr 27 5 139
name_extract 8 2 64
name_len 21 5 124
name_type_str 14 7 87
write_bits 12 4 81
unistr 30 12 199
fdata1 202 52 1089
fdata 54 14 283
smb_errstr 26 6 190
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ofp.c
Function nameLOCCyclomatic complexityToken count
print_map 23 6 195
ofp_print_hello 58 11 344
ofp_print_error 18 3 108
ofp_print_featuresreply 14 2 80
ofp_print_setconfig 13 2 69
ofp_print_packetin 62 10 383
ofp_print_flowremoved 48 7 321
ofp_print_packetout 55 9 303
ofp_print_flowmod 84 13 520
ofp_if_print 25 4 169
ofp_print 54 14 257
oxm_print_byte 19 4 114
oxm_print_halfword 19 4 114
oxm_print_word 19 4 114
oxm_print_quad 19 4 114
oxm_print_ether 14 3 68
oxm_print_data 21 4 123
ofp_print_oxm 99 47 446
action_print_output 12 2 82
action_print_group 11 2 70
action_print_setqueue 10 2 65
action_print_setmplsttl 10 2 62
action_print_setnwttl 10 2 62
action_print_push 10 2 65
action_print_popmpls 10 2 65
action_print_setfield 32 6 188
ofp_print_action 44 18 179
instruction_print_gototable 11 2 70
instruction_print_meta 12 2 80
instruction_print_actions 38 6 225
instruction_print_meter 11 2 73
instruction_print_experimenter 11 2 73
ofp_print_instruction 27 8 125
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ether.c
Function nameLOCCyclomatic complexityToken count
ether_print 22 2 121
ether_if_print 6 1 46
ether_tryprint 54 19 321
ether_encap_print 79 32 439
ether_macctl 21 4 100
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/privsep.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-bootp.c
Function nameLOCCyclomatic complexityToken count
bootp_print 97 31 751
rfc1048_print 150 43 828
cmu_print 21 3 146
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-l2tp.c
Function nameLOCCyclomatic complexityToken count
print_string 7 2 39
print_octets 7 2 39
print_short 4 1 20
print_int 4 1 23
l2tp_msgtype_print 7 2 48
l2tp_result_code_print 12 4 118
l2tp_proto_ver_print 4 1 27
l2tp_framing_cap_print 10 3 56
l2tp_bearer_cap_print 10 3 56
l2tp_tie_breaker_print 4 2 27
l2tp_firm_ver_print 4 1 21
l2tp_host_name_print 4 1 19
l2tp_vendor_name_print 4 1 19
l2tp_assnd_tun_id_print 4 1 21
l2tp_recv_win_size_print 4 1 21
l2tp_challenge_print 4 1 19
l2tp_q931_cc_print 9 2 58
l2tp_challenge_resp_print 4 1 19
l2tp_assnd_sess_id_print 4 1 21
l2tp_call_ser_num_print 4 1 21
l2tp_minimum_bps_print 4 1 21
l2tp_maximum_bps_print 4 1 21
l2tp_bearer_type_print 10 3 56
l2tp_framing_type_print 10 3 56
l2tp_packet_proc_delay_print 4 1 17
l2tp_called_number_print 4 1 19
l2tp_calling_number_print 4 1 19
l2tp_sub_address_print 4 1 19
l2tp_tx_conn_speed_print 4 1 21
l2tp_phy_channel_id_print 4 1 21
l2tp_ini_recv_lcp_print 4 1 19
l2tp_last_sent_lcp_print 4 1 19
l2tp_last_recv_lcp_print 4 1 19
l2tp_proxy_auth_type_print 26 7 99
l2tp_proxy_auth_name_print 4 1 19
l2tp_proxy_auth_chal_print 4 1 19
l2tp_proxy_auth_id_print 5 1 35
l2tp_proxy_auth_resp_print 4 1 19
l2tp_call_errors_print 12 1 58
l2tp_accm_print 5 1 37
l2tp_random_vector_print 4 1 19
l2tp_private_grp_id_print 4 1 19
l2tp_rx_conn_speed_print 4 1 21
l2tp_seq_required_print 4 1 14
l2tp_avp_print 46 13 288
l2tp_print 103 17 626
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/interface.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-rip.c
Function nameLOCCyclomatic complexityToken count
rip_printblk 6 2 37
rip_entry_print_v1 23 5 153
rip_entry_print_v2 49 10 352
rip_print 61 13 377
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-decnet.c
Function nameLOCCyclomatic complexityToken count
decnet_print 101 18 715
print_decnet_ctlmsg 128 15 1017
print_t_info 14 7 100
print_l1_routes 25 3 159
print_l2_routes 25 3 159
print_i_info 16 8 114
print_elist 4 1 17
print_nsp 372 90 2286
print_reason 4 1 21
dnnum_string 12 2 77
dnname_string 8 2 63
pdata 12 3 60
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/privsep_pcap.c
Function nameLOCCyclomatic complexityToken count
setfilter 41 6 299
priv_pcap_setfilter 41 6 303
pcap_live 28 10 203
priv_pcap_live 84 16 547
swap_hdr 9 1 75
priv_pcap_offline 89 19 561
sf_write_header 15 2 106
priv_pcap_dump_open 30 6 197
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-isoclns.c
Function nameLOCCyclomatic complexityToken count
isoclns_print 56 14 289
esis_print 152 38 828
osi_cksum 27 7 254
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-802_11.c
Function nameLOCCyclomatic complexityToken count
ieee80211_hdr 51 6 362
ieee80211_data 62 11 387
ieee80211_print_element 8 2 51
ieee80211_print_essid 18 7 116
ieee80211_print_country 29 12 238
ieee80211_print_htcaps 111 35 585
ieee80211_print_htop 88 26 566
ieee80211_print_rsncipher 32 9 146
ieee80211_print_akm 26 7 126
ieee80211_print_rsn 98 26 740
ieee80211_print_beacon 22 5 163
ieee80211_print_assocreq 26 7 172
ieee80211_print_elements 135 44 690
ieee80211_frame 140 38 752
ieee80211_any2ieee 15 5 82
ieee80211_print 8 3 43
ieee802_11_if_print 16 5 105
ieee802_11_radio_if_print 178 46 1097
ieee80211_reason 48 15 159
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-raw.c
Function nameLOCCyclomatic complexityToken count
raw_if_print 14 3 83
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-cdp.c
Function nameLOCCyclomatic complexityToken count
cdp_print 79 24 470
cdp_print_addr 37 9 300
cdp_print_prefixes 9 3 73
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/dhcp6opt.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/gmt2local.c
Function nameLOCCyclomatic complexityToken count
gmt2local 18 3 129
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-krb.c
Function nameLOCCyclomatic complexityToken count
c_print 26 7 119
krb4_print_hdr 14 1 69
krb4_print 64 10 370
krb_print 25 8 113
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/pf_print_state.c
Function nameLOCCyclomatic complexityToken count
print_addr 57 19 353
print_name 16 3 75
print_host 31 9 233
print_seq 9 2 75
print_state 125 38 1134
unmask 15 5 98
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/route6d.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ipsec.c
Function nameLOCCyclomatic complexityToken count
esp_init 49 11 359
esp_decrypt 61 14 344
esp_print 26 6 178
ah_print 66 14 401
ipcomp_print 16 2 114
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-lwres.c
Function nameLOCCyclomatic complexityToken count
lwres_printname 15 3 81
lwres_printnamelen 14 3 69
lwres_printbinlen 18 4 107
lwres_printb64len 32 5 202
lwres_printaddr 28 6 183
lwres_print 216 46 1359
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/parsenfsfh.c
Function nameLOCCyclomatic complexityToken count
Parse_fh 194 58 1619
is_UCX 21 5 87
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-icmp.c
Function nameLOCCyclomatic complexityToken count
icmp_print 206 32 1327
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/nfs.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/mib.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapctl/ldapctl.c
Function nameLOCCyclomatic complexityToken count
usage 9 1 26
compact_db 15 6 93
compact_namespace 21 5 129
compact_namespaces 11 3 57
index_namespace 67 17 418
index_namespaces 11 3 57
ssl_load_certfile 4 1 20
main 130 44 794
show_stats 14 1 105
show_dbstats 16 1 161
show_nsstats 8 1 49
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_conf.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptpd.c
Function nameLOCCyclomatic complexityToken count
pptpd_init 33 7 294
pptpd_add_listener 65 13 459
pptpd_uninit 18 3 119
pptpd_assign_call 30 6 174
pptpd_release_call 7 2 59
pptpd_listener_start 107 22 747
pptpd_start 14 3 76
pptpd_listener_close_gre 10 2 60
pptpd_close_gre 9 2 47
pptpd_listener_close_1723 11 2 68
pptpd_close_1723 9 2 47
pptpd_stop_immediatly 20 4 131
pptpd_stop_timeout 6 1 27
pptpd_stop 30 6 164
pptpd_reload 30 5 173
pptpd_io_event 39 10 198
pptpd_gre_io_event 29 6 167
pptpd_gre_input 109 21 681
pptp_ctrl_start_by_pptpd 35 7 237
pptpd_ctrl_finished_notify 20 5 130
pptpd_log 11 2 87
pptp_call_cmp 4 1 27
pptp_call_hash 4 1 20
pptp_gre_header_string 10 7 114
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_call.c
Function nameLOCCyclomatic complexityToken count
pptp_call_create 7 2 32
pptp_call_init 10 1 66
pptp_call_start 6 2 23
pptp_call_stop 8 2 50
pptp_call_destroy 5 1 20
pptp_call_disconnect 12 3 66
pptp_call_input 68 12 327
pptp_call_recv_SLI 22 4 144
pptp_call_send_SLI 26 2 188
pptp_call_recv_CCR 12 2 82
pptp_call_send_CDN 33 4 253
pptp_call_send_OCRP 37 2 295
pptp_call_recv_OCRQ 27 2 223
pptp_call_gre_input 68 14 432
pptp_call_gre_output 62 13 482
pptp_call_notify_down 5 2 23
pptp_call_ppp_input 20 5 106
pptp_call_ppp_output 16 3 86
pptp_call_closed_by_ppp 13 2 70
pptp_call_bind_ppp 32 5 230
pptp_call_log 12 2 104
pptp_call_OCRQ_string 12 1 73
pptp_call_OCRP_string 11 1 63
pptp_call_state_string 14 5 40
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_subr.c
Function nameLOCCyclomatic complexityToken count
pptp_framing_string 10 4 65
pptp_bearer_string 10 4 65
pptp_init_header 8 1 57
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_ctrl.c
Function nameLOCCyclomatic complexityToken count
pptp_ctrl_create 7 2 32
pptp_ctrl_init 29 3 174
pptp_ctrl_start 48 6 356
pptp_ctrl_timeout 62 13 311
pptp_ctrl_reset_timeout 14 2 58
pptp_ctrl_stop 23 5 110
pptp_ctrl_fini 27 4 168
pptp_ctrl_destroy 12 3 59
pptp_ctrl_io_event 56 17 342
pptp_ctrl_set_io_event 17 4 102
pptp_ctrl_output 12 2 66
pptp_ctrl_output_flush 30 5 183
pptp_ctrl_SCCRx_string 19 2 152
pptp_ctrl_recv_SCCRQ 24 3 179
pptp_ctrl_recv_StopCCRP 14 2 88
pptp_ctrl_send_StopCCRQ 20 2 133
pptp_ctrl_recv_StopCCRQ 14 2 88
pptp_ctrl_send_StopCCRP 23 2 153
pptp_ctrl_send_SCCRP 39 4 312
pptp_ctrl_process_echo_req 29 4 207
pptp_ctrl_recv_echo_rep 24 4 147
pptp_ctrl_send_echo_req 18 3 130
pptp_ctrl_send_CDN 25 3 183
pptp_ctrl_input 108 26 545
pptp_ctrl_call_input 87 22 444
pptp_ctrl_log 11 2 90
pptp_ctrl_state_string 14 5 40
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_subr.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_config.c
Function nameLOCCyclomatic complexityToken count
npppd_config_check 6 1 28
npppd_reload_config 18 2 85
npppd_modules_reload 12 5 87
npppd_pool_load 66 16 476
npppd_auth_realm_reload 69 12 396
realm_list_remove 12 4 71
npppd_ifaces_load_config 43 11 283
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/ppp.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/radius_chap_const.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 8 2 36
logit 7 1 38
vlog 4 1 24
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 3 43
fatal 12 3 61
fatalx 5 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_defs.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/psm-opt.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd.c
Function nameLOCCyclomatic complexityToken count
main 69 22 413
usage 5 1 18
npppd_get_npppd 4 1 9
npppd_init 121 26 913
npppd_start 13 4 62
npppd_stop 17 7 120
npppd_stop_really 18 8 102
npppd_fini 30 10 238
npppd_reset_timer 13 2 71
npppd_timer 25 8 133
npppd_reset_routing_table 52 11 277
npppd_get_user_password 9 1 63
npppd_get_user_framed_ip_address 25 7 168
npppd_check_calling_number 17 5 114
npppd_get_ppp_by_ip 18 4 103
npppd_get_ppp_by_user 7 2 42
npppd_get_ppp_by_id 22 4 114
npppd_get_ipcp_stat 10 2 57
npppd_destroy_ipcp_stats 12 1 69
npppd_ipcp_stats_reload 28 3 196
npppd_check_user_max_session 30 9 178
npppd_network_output 42 11 294
pipex_setup_common 43 12 369
npppd_ppp_pipex_enable 103 18 785
npppd_ppp_pipex_disable 41 12 251
npppd_ppp_pipex_ip_disable 31 11 176
pipex_periodic 67 15 369
npppd_prepare_ip 17 4 159
npppd_release_ip 9 2 54
npppd_set_ip_enabled 118 25 703
npppd_assign_ip_addr 90 17 473
rtlist_remove 13 4 76
npppd_set_radish 123 25 767
npppd_get_all_users 30 6 161
rd2slist_walk 9 2 45
rd2slist 4 1 23
npppd_reload0 20 6 134
npppd_update_pool_reference 20 7 153
npppd_on_sighup 9 2 44
npppd_on_sigterm 6 1 27
npppd_on_sigint 6 1 27
npppd_on_sigchld 20 3 95
str_hash 12 2 82
npppd_ppp_bind_realm 55 14 339
npppd_ppp_is_realm_local 9 3 53
npppd_ppp_is_realm_radius 9 3 53
npppd_ppp_is_realm_ready 6 2 31
npppd_ppp_get_realm_name 6 2 31
npppd_ppp_get_iface_name 6 3 35
npppd_ppp_iface_is_ready 5 3 34
npppd_ppp_bind_iface 61 16 408
npppd_ppp_unbind_iface 11 3 58
npppd_rd_walktree_delete 16 3 97
npppd_get_radius_auth_setting 10 3 58
npppd_auth_finalizer_periodic 43 9 220
sockaddr_npppd_match 7 2 47
npppd_ppp_get_username_for_auth 9 1 56
npppd_tunnel_protocol_name 16 6 46
npppd_ppp_tunnel_protocol_name 4 1 20
npppd_get_tunnconf 9 2 52
npppd_on_ppp_start 10 2 67
npppd_on_ppp_stop 10 2 65
imsg_event_add 9 2 75
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_ctl.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/fsm.c
Function nameLOCCyclomatic complexityToken count
fsm_evtimer_timeout 6 1 32
fsm_init 14 1 83
fsm_lowerup 19 4 81
fsm_lowerdown 32 11 153
fsm_open 28 9 121
fsm_close 33 11 193
fsm_timeout 38 14 256
fsm_input 57 15 309
fsm_rconfreq 48 14 277
fsm_rconfack 43 13 253
fsm_rconfnakrej 43 15 261
fsm_rtermreq 22 5 118
fsm_rtermack 27 8 143
fsm_rcoderej 18 3 93
fsm_protreject 36 12 209
fsm_sconfreq 29 10 225
fsm_sdata 8 1 49
fsm_log 12 1 89
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/pap.c
Function nameLOCCyclomatic complexityToken count
pap_init 6 1 31
pap_start 11 2 58
pap_stop 10 3 47
pap_input 68 17 386
pap_authenticate 21 6 144
pap_log 10 1 68
pap_response 43 5 284
pap_local_authenticate 14 3 92
pap_proxy_authen_prepare 24 3 175
pap_radius_authenticate 65 13 485
pap_radius_response 52 11 275
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/ipcp.c
Function nameLOCCyclomatic complexityToken count
ipcp_init 18 1 133
ipcp_resetci 8 2 58
ipcp_cilen 5 1 28
ipcp_addci 11 1 80
ipcp_ackci 5 1 32
ipcp_nakci 8 1 59
ipcp_rejci 8 1 58
ipcp_reqci 146 34 763
ipcp_open 24 7 148
ipcp_close 4 1 21
ipcp_start 3 1 8
ipcp_stop 5 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 48 9 343
control_listen 14 3 94
control_cleanup 11 2 77
control_accept 41 9 315
control_connbyfd 9 2 42
control_close 18 3 128
control_dispatch_imsg 86 25 568
control_imsg_forward 9 2 70
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/radius_req.c
Function nameLOCCyclomatic complexityToken count
radius_request 13 2 70
radius_prepare_nas_address 47 10 300
radius_request_can_failover 13 3 84
radius_request_failover 15 4 79
radius_prepare_socket 26 4 193
radius_prepare 29 6 174
radius_cancel_request 19 4 116
radius_get_server_secret 7 1 28
radius_get_server_address 7 1 34
radius_request0 40 7 246
radius_request_io_event 48 11 294
radius_on_response 32 8 220
select_srcaddr 18 5 107
radius_req_setting_create 4 1 17
radius_req_setting_has_server 4 1 20
radius_req_setting_destroy 6 2 27
radius_req_setting_ref 4 1 13
radius_req_setting_unref 6 2 24
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/chap.c
Function nameLOCCyclomatic complexityToken count
chap_init 16 2 117
chap_start 66 10 397
chap_stop 9 3 44
chap_input 75 15 411
chap_failure 11 3 50
chap_authenticate 53 12 296
chap_response 29 4 202
chap_create_challenge 7 2 44
chap_proxy_authen_prepare 39 7 264
md5chap_authenticate 38 4 227
chap_send_error 11 1 79
mschapv2_send_error 17 1 165
mschapv2_authenticate 58 8 451
chap_radius_authenticate 82 16 473
chap_radius_response 98 19 573
strip_nt_domain 7 2 35
chap_log 24 3 125
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/accept.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_auth_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_iface.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/privsep.c
Function nameLOCCyclomatic complexityToken count
privsep_init 27 5 158
privsep_fini 8 2 30
privsep_priv_pid 4 1 11
priv_bind 16 3 119
priv_socket 11 1 74
priv_open 10 1 77
priv_fopen 12 3 69
priv_sendto 25 4 201
priv_send 4 1 36
priv_unlink 9 1 68
priv_get_user_info 49 5 364
priv_get_if_addr 25 4 170
priv_delete_if_addr 9 1 68
priv_set_if_addr 10 1 80
priv_get_if_flags 25 4 173
priv_set_if_flags 10 1 77
privsep_recvfd 20 4 108
privsep_common_resp 20 4 107
privsep_priv_main 9 1 41
privsep_priv_dispatch_imsg 350 70 2456
imsg_read_and_get 17 8 100
startswith 4 2 35
privsep_npppd_check_open 30 8 199
privsep_npppd_check_socket 13 10 89
privsep_npppd_check_bind 4 1 14
privsep_npppd_check_sendto 9 6 60
privsep_npppd_check_unlink 4 1 14
privsep_npppd_check_get_user_info 8 2 46
privsep_npppd_check_get_if_addr 6 3 39
privsep_npppd_check_set_if_addr 6 3 39
privsep_npppd_check_del_if_addr 6 3 39
privsep_npppd_check_get_if_flags 6 3 39
privsep_npppd_check_set_if_flags 6 3 39
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/lcp.c
Function nameLOCCyclomatic complexityToken count
lcp_init 30 2 205
lcp_lowerup 10 3 56
lcp_send_protrej 6 1 50
lcp_auth_string 12 7 54
lcp_open 43 10 286
lcp_down 12 3 64
lcp_finished 4 1 15
lcp_resetci 9 3 81
lcp_cilen 5 1 22
lcp_add_auth 66 13 384
lcp_addci 40 8 284
lcp_reqci 101 24 527
lcp_ackci 79 25 357
lcp_nakci 124 32 571
lcp_rejci 91 24 406
lcp_rcoderej 40 9 191
lcp_reset_timeout 14 3 71
lcp_timeout 20 4 129
lcp_rechoreq 14 2 90
lcp_ext 45 12 267
lcp_load_authconfig 22 4 151
lcp_dialin_proxy 69 15 440
lcp_proxy_recv_ci 55 16 248
lcp_proxy_sent_ci 80 25 345
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/mppe.c
Function nameLOCCyclomatic complexityToken count
mppe_init 32 8 218
mppe_fini 5 1 28
mppe_reduce_key 10 3 49
mppe_key_change 17 2 114
mppe_start 47 11 467
mppe_create_our_bits 31 11 195
mppe_input 103 25 668
mppe_recv_ccp_reset 5 1 29
mppe_pkt_output 41 9 309
mppe_log 10 1 68
mppe_bits_to_string 14 8 127
rc4_create_ctx 4 1 15
rc4_key 5 1 27
rc4 4 1 30
GetNewKeyFromSHA 14 1 98
mppe_rc4_init 14 3 72
mppe_rc4_setkey 4 1 28
mppe_rc4_setoldkey 5 1 36
mppe_rc4_encrypt 4 1 36
mppe_rc4_destroy 6 1 32
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/ppp.c
Function nameLOCCyclomatic complexityToken count
ppp_create 13 2 81
ppp_init 47 12 369
ppp_set_tunnel_label 28 8 235
ppp_start 14 1 100
ppp_dialin_proxy_prepare 16 3 92
ppp_down_others 13 5 90
ppp_stop 10 2 57
ppp_set_disconnect_cause 10 2 56
ppp_set_radius_terminate_cause 5 2 25
ppp_stop0 56 17 405
ppp_destroy 11 1 69
ppp_peer_auth_string 11 6 51
ppp_lcp_up 30 12 168
ppp_lcp_finished 7 1 35
ppp_phy_downed 10 2 54
proto_name 16 11 82
ppp_auth_ok 43 9 252
ppp_idle_timeout 9 2 49
ppp_reset_idle_timeout 10 2 55
ppp_ipcp_opened 33 8 244
ppp_ccp_opened 13 6 70
ppp_ccp_stopped 8 4 32
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_auth.c
Function nameLOCCyclomatic complexityToken count
npppd_auth_create 43 10 241
npppd_auth_dispose 5 1 16
npppd_auth_destroy 25 7 133
npppd_auth_reload 44 9 256
npppd_auth_get_user_password 41 8 211
npppd_auth_get_framed_ip 20 5 127
npppd_auth_get_calling_number 31 7 162
npppd_auth_get_type 4 1 13
npppd_auth_is_usable 4 3 27
npppd_auth_is_ready 14 7 71
npppd_auth_is_disposing 4 2 21
npppd_auth_is_eap_capable 4 2 21
npppd_auth_get_name 4 1 13
npppd_auth_get_suffix 4 1 13
npppd_auth_username_for_auth 22 7 133
npppd_auth_user_session_unlimited 4 2 21
npppd_check_auth_user_max_session 8 3 32
npppd_auth_get_user 20 6 135
npppd_auth_radius_reload 76 17 726
npppd_auth_radius_get_radius_auth_setting 4 1 13
npppd_auth_radius_get_radius_acct_setting 4 1 13
npppd_auth_base_log 13 1 81
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_pool.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_auth.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_radius.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/accept.c
Function nameLOCCyclomatic complexityToken count
accept_init 5 1 26
accept_add 14 2 123
accept_del 12 2 62
accept_pause 7 1 36
accept_unpause 8 2 37
accept_arm 6 1 32
accept_unarm 6 1 30
accept_cb 6 1 44
accept_timeout 5 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_subr.c
Function nameLOCCyclomatic complexityToken count
skip_space 7 3 43
load_resolv_conf 39 11 228
in_route0 110 27 786
in_host_route_add 5 1 40
in_host_route_delete 4 1 32
in_route_add 5 1 48
in_route_delete 5 1 40
ip_is_idle_packet 49 23 242
in_addr_range_add_route 13 2 96
in_addr_range_delete_route 12 2 92
adjust_tcp_mss 55 13 327
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_radius.c
Function nameLOCCyclomatic complexityToken count
ppp_proccess_radius_framed_ip 11 3 64
npppd_ppp_radius_acct_start 7 3 52
npppd_ppp_radius_acct_stop 7 3 52
npppd_ppp_radius_acct_reqcb 43 9 242
radius_acct_request 79 18 506
pptp_put_tunnel_attributes 34 6 221
l2tp_put_tunnel_attributes 34 6 221
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/privsep.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_iface.c
Function nameLOCCyclomatic complexityToken count
npppd_iface_init 13 1 103
npppd_iface_setup_ip 100 21 611
npppd_iface_reinit 24 6 158
npppd_iface_start 53 12 314
npppd_iface_stop 22 5 129
npppd_iface_fini 5 1 21
npppd_iface_pipex_enable 5 1 26
npppd_iface_pipex_disable 5 1 26
npppd_iface_io_event_handler 26 5 135
npppd_iface_network_input_delegate 21 6 129
npppd_iface_network_input_ipv4 50 12 330
npppd_iface_network_input 29 5 148
npppd_iface_write 27 3 204
npppd_iface_log 12 1 81
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_pool.c
Function nameLOCCyclomatic complexityToken count
npppd_pool_init 9 1 68
npppd_pool_start 4 1 11
npppd_pool_uninit 9 1 47
npppd_pool_reload 81 18 619
npppd_pool_regist_radish 47 7 350
npppd_pool_get_dynamic 44 8 248
npppd_is_ifcace_ip4addr 10 4 66
npppd_pool_assign_ip 45 5 322
npppd_pool_release_ip 46 8 321
npppd_pool_get_assignability 41 12 262
is_valid_host_address 13 10 100
npppd_pool_log 12 2 82
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/ccp.c
Function nameLOCCyclomatic complexityToken count
ccp_init 18 1 133
ccp_reqci 74 16 382
ccp_open 4 1 15
ccp_close 3 1 8
ccp_start 3 1 8
ccp_stop 5 2 24
ccp_resetci 6 3 38
ccp_cilen 4 1 15
ccp_addci 12 2 78
ccp_ackci 4 1 29
ccp_nakci 4 1 29
ccp_rejci 4 1 29
ccp_nackackci 37 12 190
ccp_ext 13 4 74
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/chap_ms.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_subr.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/fsm.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_ctl.c
Function nameLOCCyclomatic complexityToken count
npppd_ctl_create 9 2 56
npppd_ctl_destroy 7 2 29
npppd_ctl_who 4 1 19
npppd_ctl_monitor 5 1 20
npppd_ctl_who_and_monitor 4 1 19
npppd_ctl_who0 8 2 52
npppd_ctl_add_started_ppp_id 18 5 116
npppd_ctl_add_stopped_ppp 13 3 90
npppd_ctl_who_walk_rd 13 3 75
npppd_ctl_disconnect 13 3 81
npppd_ctl_imsg_compose 62 13 463
npppd_who_init 40 6 325
npppd_ppp_get_pipex_stat 40 12 248
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/radius_req.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/chap_ms.c
Function nameLOCCyclomatic complexityToken count
get7bits 8 1 63
mschap_des_addparity 12 1 117
mschap_des_encrypt 9 1 58
mschap_challenge_response 10 1 83
mschap_ntpassword_hash 8 1 52
mschap_challenge_hash 18 2 125
mschap_nt_response 11 1 73
mschap_auth_response 47 2 458
mschap_masterkey 18 1 151
mschap_asymetric_startkey 41 4 482
mschap_msk 17 1 146
mschap_radiuskey 23 3 219
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_conf.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_ctrl.c
Function nameLOCCyclomatic complexityToken count
l2tp_ctrl_create 4 1 17
l2tp_ctrl_init 73 12 461
l2tp_ctrl_reload 8 3 63
l2tp_ctrl_destroy 6 2 27
l2tp_ctrl_send_disconnect_notify 22 7 122
l2tp_ctrl_stop 49 12 273
l2tp_ctrl_purge_ipsec_sa 51 21 395
l2tp_ctrl_timeout 95 22 449
l2tp_ctrl_send 20 5 184
l2tp_ctrl_resend_una_packets 28 5 163
l2tp_ctrl_destroy_all_calls 7 2 42
l2tp_ctrl_disconnect_all_calls 23 5 122
l2tp_ctrl_reset_timeout 21 4 111
l2tp_ctrl_input 337 84 1876
l2tp_ctrl_txwin_size 7 1 33
l2tp_ctrl_txwin_is_full 4 2 24
l2tp_ctrl_send_packet 37 5 292
l2tp_ctrl_recv_SCCRQ 111 19 713
l2tp_ctrl_send_StopCCN 33 3 232
l2tp_ctrl_recv_StopCCN 85 14 482
l2tp_ctrl_send_SCCRP 70 5 543
l2tp_ctrl_send_HELLO 24 3 150
l2tp_ctrl_send_ZLB 11 2 68
l2tp_ctrl_prepare_snd_buffer 18 3 99
l2tp_ctrl_state_string 11 6 49
l2tp_ctrl_log 11 2 90
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_call.c
Function nameLOCCyclomatic complexityToken count
l2tp_call_create 7 2 32
l2tp_call_init 9 2 58
l2tp_call_destroy 5 1 27
l2tp_call_admin_disconnect 5 1 23
l2tp_call_drop 4 1 23
l2tp_call_disconnect 17 4 100
l2tp_call_recv_packet 104 22 524
l2tp_call_recv_ICRQ 90 17 449
l2tp_call_send_ICRP 31 3 201
l2tp_call_send_data_packet 31 5 250
l2tp_call_recv_ICCN 139 25 756
l2tp_recv_CDN 93 14 518
l2tp_call_send_CDN 67 11 480
l2tp_call_send_ZLB 12 2 66
l2tp_call_log 12 2 104
l2tp_call_state_string 10 5 43
l2tp_call_ppp_input 16 4 85
l2tp_call_ppp_output 19 3 102
l2tp_call_closed_by_ppp 41 4 272
l2tp_call_notify_down 5 2 23
l2tp_call_bind_ppp 52 8 345
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tpd.c
Function nameLOCCyclomatic complexityToken count
l2tpd_init 37 6 226
l2tpd_add_listener 46 8 334
l2tpd_uninit 20 3 124
l2tpd_assign_call 26 4 127
l2tpd_release_call 4 1 31
l2tpd_listener_start 116 30 784
l2tpd_start 20 4 104
l2tpd_listener_stop 13 2 89
l2tpd_stop_immediatly 11 2 61
l2tpd_ctrl_finished_notify 8 3 36
l2tpd_stop_timeout 14 2 83
l2tpd_stop 30 5 160
l2tpd_reload 30 5 173
l2tpd_log_access_deny 7 1 52
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_subr.h
Function nameLOCCyclomatic complexityToken count
avp_get_val16 4 1 29
avp_get_val32 5 1 53
avp_set_val16 5 1 35
avp_set_val32 7 1 59
short_cmp 4 1 27
short_hash 4 1 22
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_subr.c
Function nameLOCCyclomatic complexityToken count
avp_enum 20 6 163
avp_attr_type_string 9 3 52
l2tp_stopccn_rcode_string 9 3 52
l2tp_cdn_rcode_string 9 3 52
l2tp_ecode_string 11 4 61
avp_find 17 5 95
avp_find_message_type_avp 4 1 33
bytebuf_add_avp 14 3 123
avp_mes_type_string 9 3 52
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/bytebuf.c
Function nameLOCCyclomatic complexityToken count
bytebuffer_create 18 4 103
bytebuffer_wrap 10 2 53
bytebuffer_unwrap 11 1 52
bytebuffer_realloc 16 4 94
bytebuffer_compact 13 3 83
bytebuffer_put 15 4 94
bytebuffer_get 13 4 85
bytebuffer_position 5 1 20
bytebuffer_limit 5 1 20
bytebuffer_capacity 5 1 20
bytebuffer_pointer 5 1 28
bytebuffer_remaining 6 1 35
bytebuffer_has_remaining 5 1 23
bytebuffer_flip 7 1 36
bytebuffer_rewind 6 1 28
bytebuffer_clear 7 1 36
bytebuffer_mark 5 1 23
bytebuffer_reset 7 2 40
bytebuffer_destroy 8 2 35
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/debugutil.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/bytebuf.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/debugmacro.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/ipsec_util.c
Function nameLOCCyclomatic complexityToken count
ipsec_util_purge_transport_sa 31 14 219
ipsec_util_prepare 7 3 27
delete_prepare 75 25 515
send_sadb_delete 62 8 476
address_compar 41 14 349
sadb_del_args_init 25 4 198
sockaddr_is_valid 8 5 52
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/radish.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/addr_range.c
Function nameLOCCyclomatic complexityToken count
in_addr_range_create 9 2 52
in_addr_range_destroy 4 1 14
in_addr_range_list_remove_all 11 2 50
in_addr_range_list_uniq 43 10 303
in_addr_range_list_includes 10 3 74
in_addr_range_list_add0 33 7 222
in_addr_range_list_add 92 29 582
bitmask2masklen 40 34 217
usage 10 1 16
main 35 7 192
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/slist_test.c
Function nameLOCCyclomatic complexityToken count
dump 23 6 147
test_01a 37 8 286
test_01 22 4 197
test_02 28 6 305
test_03 16 4 122
test_itr_subr_01 33 6 330
test_04 17 3 116
test_05 38 4 385
test_06 19 4 146
test_07 18 4 128
test_08 23 1 207
test_09 59 1 523
test_10 30 6 228
test_11 12 1 94
test_12_compar 4 1 25
test_12 27 1 287
test_13 7 1 27
main 18 1 86
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/hash.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/debugutil.c
Function nameLOCCyclomatic complexityToken count
set_prio_idx_init 13 4 94
debug_set_debugfp 5 1 14
debug_use_syslog 8 2 22
debug_set_no_debuglog 7 2 20
debug_get_debugfp 4 1 8
vlog_printf 87 26 541
log_printf 9 1 49
debug_set_syslog_level_adjust 4 1 11
debug_get_syslog_level_adjust 4 1 9
show_hd 56 13 416
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/net_utils.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/addr_range.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/ipsec_util_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/ipsec_util.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/time_utils.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/radish.c
Function nameLOCCyclomatic complexityToken count
rd_inithead 38 5 310
rd_mask 31 13 238
rd_insert 105 23 749
rd_glue 54 7 419
rd_match 4 1 31
rd_match_next 42 11 254
rd_lookup 29 9 213
rd_delete 58 15 379
rd_unlink 36 11 215
rd_walktree 24 8 153
rd_refines 23 11 168
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/slist.c
Function nameLOCCyclomatic complexityToken count
slist_init 5 1 25
slist_set_size 6 2 34
slist_fini 5 1 20
slist_length 7 2 43
slist_grow0 29 6 235
slist_grow 4 1 16
slist_add 11 3 64
slist_add_all 10 3 61
slist_get 8 3 52
slist_set 9 3 66
slist_remove_first 13 5 84
slist_remove_last 9 3 54
slist_remove_all 6 1 27
slist_swap0 8 1 75
slist_swap 14 5 85
slist_remove 61 22 433
slist_shuffle 7 2 50
slist_itr_first 6 2 33
slist_itr_has_next 6 2 29
slist_itr_next 15 4 94
slist_itr_remove 5 1 30
slist_qsort 5 2 49
slist_qsort0 21 7 158
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/hash.c
Function nameLOCCyclomatic complexityToken count
hash_first 7 1 28
hash_next 19 4 99
hash_lookup 14 5 97
hash_insert 19 4 119
hash_delete 28 9 185
hash_delete_all 18 5 100
hash_free 8 2 30
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/slist.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/recvfromto.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/time_utils.c
Function nameLOCCyclomatic complexityToken count
get_nanotime 10 2 56
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/recvfromto.c
Function nameLOCCyclomatic complexityToken count
recvfromto_nat_t 130 31 915
recvfromto 13 1 75
sendto_nat_t 36 3 256
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/net_utils.c
Function nameLOCCyclomatic complexityToken count
get_ifname_by_sockaddr 39 9 245
addrport_parse 39 7 230
addrport_tostring 23 4 151
netmask2prefixlen 39 34 215
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pppoe/pppoe_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pppoe/pppoed.c
Function nameLOCCyclomatic complexityToken count
pppoed_init 49 8 330
pppoed_listener_init 7 1 43
pppoed_reload_listeners 8 3 37
pppoed_listener_start 108 16 813
pppoed_start 22 5 113
pppoed_listener_stop 18 2 124
pppoed_stop 26 5 152
pppoed_uninit 13 3 70
pppoed_pppoe_session_close_notify 13 3 97
pppoed_reload 109 22 733
pppoed_io_event 41 6 265
pppoed_input 119 26 676
pppoed_output 26 3 215
pppoed_recv_PADR 44 8 241
pppoed_recv_PADI 114 20 887
pppoed_log 11 2 87
pppoed_tlv_value_string 13 2 82
session_id_cmp 7 1 36
session_id_hash 6 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pppoe/pppoe.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pppoe/pppoe_conf.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pppoe/pppoe_session.c
Function nameLOCCyclomatic complexityToken count
pppoe_session_init 14 1 107
pppoe_session_disconnect 12 3 65
pppoe_session_stop 5 2 21
pppoe_session_fini 4 1 16
pppoe_session_dispose_event 6 1 31
pppoe_session_input 21 6 111
pppoe_session_output 40 4 314
pppoe_session_send_PADT 36 3 245
pppoe_session_send_PADS 55 7 396
pppoe_session_recv_PADR 33 9 210
pppoe_session_recv_PADT 7 1 35
pppoe_session_log 13 2 102
pppoe_session_ppp_output 16 3 85
pppoe_session_close_by_ppp 9 2 42
pppoe_session_bind_ppp 42 5 299
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdrop/tcpdrop.c
Function nameLOCCyclomatic complexityToken count
usage 11 1 34
main 91 22 756
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/mdstore.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/config.c
Function nameLOCCyclomatic complexityToken count
pri_find_cpu 9 2 38
pri_link_core 24 6 171
pri_add_core 7 1 49
pri_init_cores 14 4 89
pri_add_cpu 24 4 153
pri_alloc_cpu 16 4 86
pri_free_cpu 4 1 19
pri_add_mblock 10 1 81
pri_alloc_memory 35 7 231
pri_init 77 17 649
hvmd_fixup_guest 12 4 85
hvmd_init_frag 20 2 135
hvmd_alloc_frag 16 4 82
hvmd_free_frag 7 1 39
hvmd_init_mblock 26 6 209
hvmd_init_console 14 3 101
hvmd_init_cpu 30 8 239
hvmd_init_device 31 9 248
hvmd_init_endpoint 31 5 263
hvmd_init_guest 88 15 715
hvmd_init 68 16 626
hvmd_finalize_cpu 27 4 210
hvmd_finalize_cpus 14 3 86
hvmd_finalize_maus 25 5 161
hvmd_finalize_device 13 1 106
hvmd_finalize_devices 20 5 122
hvmd_finalize_mblock 14 1 114
hvmd_finalize_memory 14 3 86
hvmd_finalize_endpoint 26 6 224
hvmd_finalize_endpoints 14 3 86
hvmd_finalize_console 19 2 133
hvmd_finalize_consoles 14 3 86
hvmd_finalize_guest 43 2 422
hvmd_finalize_guests 14 3 86
hvmd_finalize 55 7 396
hvmd_add_endpoint 20 3 128
hvmd_add_console 36 3 256
hvmd_add_domain_services 23 1 180
hvmd_add_vio 24 1 189
hvmd_add_guest 23 3 147
guest_add_channel_endpoints 11 1 63
guest_add_endpoint 15 2 113
guest_add_vcc 18 1 133
guest_find_vcc 20 5 132
guest_add_vcc_port 21 3 166
guest_add_vds 18 1 133
guest_find_vds 20 5 132
guest_add_vds_port 19 3 142
guest_add_vsw 18 1 133
guest_find_vsw 20 5 132
guest_add_vsw_port 23 4 169
guest_add_console_device 20 1 153
guest_add_vdc 17 1 123
guest_add_vdc_port 16 2 118
guest_add_vnet 22 2 170
guest_add_vnet_port 20 2 163
guest_add_channel_devices 17 1 120
guest_add_domain_services 11 1 63
guest_add_domain_services_port 17 2 114
guest_add_devalias 14 2 98
guest_set_domaining_enabled 8 1 48
guest_set_mac_address 13 1 87
guest_find_vc 21 5 140
guest_add_vc_port 21 2 153
guest_create 27 1 194
guest_lookup 10 4 57
guest_delete_virtual_device_port 17 4 105
guest_delete_endpoint 32 11 233
guest_delete 23 1 174
guest_delete_cpu 12 2 68
guest_add_cpu 19 4 123
guest_delete_memory 10 2 67
guest_add_memory 19 5 135
guest_add_vdisk 20 2 137
guest_add_vnetwork 25 2 174
guest_find_cpu 8 2 42
guest_finalize 62 11 471
primary_init 8 1 31
build_config 76 20 534
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/mdesc.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/util.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/pri.c
Function nameLOCCyclomatic complexityToken count
pri_start 11 1 75
pri_rx_data 13 2 97
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/ldomctl.c
Function nameLOCCyclomatic complexityToken count
main 47 9 366
usage 7 1 34
add_guest 24 7 177
find_guest 9 2 52
fetch_pri 8 2 39
dump 38 6 260
init_system 6 2 29
list 17 4 99
xselect 11 3 66
delete 13 4 92
download 11 3 66
guest_start 18 4 145
guest_stop 18 4 145
guest_panic 18 4 145
guest_status 104 20 748
hv_open 32 6 277
hv_close 5 1 16
hv_read 9 2 58
hv_write 9 2 58
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/util.c
Function nameLOCCyclomatic complexityToken count
xmalloc 8 2 34
xzalloc 7 1 30
xreallocarray 8 2 45
xstrdup 8 2 36
xasprintf 11 2 61
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/mdstore.c
Function nameLOCCyclomatic complexityToken count
mdstore_start 11 1 78
mdstore_rx_data 33 6 204
mdstore_begin 19 2 138
mdstore_transfer 31 4 213
mdstore_end 19 2 138
mdstore_select 22 3 168
mdstore_delete 22 3 168
mdstore_download 52 10 395
frag_init 13 3 87
add_frag_mblock 15 2 85
add_frag 7 1 39
delete_frag 11 2 55
alloc_frag 12 2 56
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/mdesc.c
Function nameLOCCyclomatic complexityToken count
md_find_name 8 2 49
md_add_name 13 2 82
md_free_name 9 2 48
md_find_data 9 3 60
md_add_data 15 2 104
md_free_data 9 2 48
md_find_node 9 2 53
md_add_node 9 1 64
md_link_node 5 1 41
md_find_prop 9 2 58
md_add_prop 8 1 61
md_add_prop_val 9 1 55
md_add_prop_str 9 1 69
md_add_prop_data 9 1 67
md_add_prop_arc 9 1 59
md_delete_prop 8 3 70
md_get_prop_val 10 3 66
md_set_prop_val 10 3 64
md_get_prop_str 10 3 69
md_get_prop_data 11 3 84
md_delete_node 15 3 108
md_find_delete_node 7 2 39
md_alloc 9 1 49
md_find_index 9 2 44
md_fixup_arcs 12 2 74
md_walk_graph 10 3 72
md_collect_garbage 11 2 76
md_ingest 75 15 517
md_exhume 98 6 692
md_copy 9 1 43
md_read 30 6 160
md_write 13 3 84
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/ldomctl.h
Source file: /home/sergeyb/sources/src/usr.sbin/procmap/procmap.c
Function nameLOCCyclomatic complexityToken count
no_impl 5 1 24
main 116 38 628
print_sum 10 3 71
process_map 136 26 1119
load_symbols 18 5 189
load_vm_map_entries 21 3 194
unload_vm_map_entries 8 2 42
dump_vm_map_entry 194 71 1674
findname 67 16 481
search_cache 39 12 278
load_name_cache 19 7 138
cache_enter 20 3 149
usage 8 1 26
strtopid 9 2 47
Source file: /home/sergeyb/sources/src/usr.sbin/tokenadm/tokenadm.c
Function nameLOCCyclomatic complexityToken count
main 174 62 906
process_record 28 7 138
process_modes 30 8 160
force_unlock 11 3 59
print_record 38 15 220
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/elf_hide.c
Function nameLOCCyclomatic complexityToken count
elf_hide 65 10 525
load_shstr_tab 10 2 68
fprint_shstr 5 2 32
get_shstr 4 1 16
load_symtab 26 7 183
dump_symtab 19 4 154
load_strtab 19 5 128
dump_strtab 16 2 70
fprint_str 5 2 32
get_str 4 1 16
hide_sym 28 8 193
reorder_syms 45 10 316
renum_reloc_syms 39 12 305
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/crunchgen.c
Function nameLOCCyclomatic complexityToken count
main 87 29 517
usage 9 1 26
parse_conf_file 13 4 57
parse_one_file 52 12 309
parse_line 21 12 139
add_srcdirs 35 10 215
add_libdirs 48 12 289
add_progs 6 2 35
add_prog 20 7 145
add_link 14 3 82
add_libs 6 2 38
add_special 53 20 405
find_prog 8 3 46
gen_outputs 10 2 47
fillin_program 62 24 469
fillin_program_objs 54 15 357
remove_error_progs 19 4 87
gen_specials_cache 28 7 196
gen_output_makefile 17 3 95
gen_output_cfile 31 6 222
genident 14 6 98
dir_search 11 3 69
top_makefile_rules 56 4 415
prog_makefile_rules 29 5 218
output_strlst 6 2 43
out_of_memory 5 1 22
add_string 17 7 121
is_dir 7 2 36
is_nonempty_file 7 3 42
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/crunchide.c
Function nameLOCCyclomatic complexityToken count
crunchide_main 34 10 135
add_to_keep_list 22 9 150
in_keep_list 9 4 58
add_file_to_keep_list 17 5 102
hide_syms 32 10 199
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/mangle.c
Function nameLOCCyclomatic complexityToken count
init_mangle_state 28 10 161
fini_mangle_state 17 4 93
dump_mangle_state 7 2 35
mangle_str 17 4 90
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/mangle.h
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/crunched_main.c
Function nameLOCCyclomatic complexityToken count
crunched_main2 14 6 106
main 5 1 34
crunched_main 6 2 44
crunched_usage 20 3 104
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/dbg.c
Function nameLOCCyclomatic complexityToken count
doddbg 9 2 41
dodbg 9 2 40
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/acctproc.c
Function nameLOCCyclomatic complexityToken count
bn2string 21 4 119
op_thumb_rsa 16 5 122
op_thumbprint 45 11 289
op_sign_rsa 23 6 175
op_sign 77 17 527
acctproc 72 21 390
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/parse.h
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/json.c
Function nameLOCCyclomatic complexityToken count
build 67 16 447
jsmnparse_free 27 8 131
jsmntree_alloc 21 5 130
json_free 5 2 22
json_getarrayobj 4 2 20
json_getarray 19 8 149
json_getobj 19 8 149
json_getstr 24 10 190
json_free_challenge 6 1 33
json_parse_response 17 5 90
json_parse_challenge 28 8 173
json_parse_capaths 16 7 132
json_free_capaths 9 1 57
json_parse 29 5 153
json_fmt_newreg 15 2 52
json_fmt_newauthz 16 2 53
json_fmt_challenge 15 2 59
json_fmt_revokecert 15 2 52
json_fmt_newcert 15 2 52
json_fmt_header_rsa 16 2 60
json_fmt_protected_rsa 17 2 68
json_fmt_signed 18 2 75
json_fmt_thumb_rsa 12 2 56
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/base64.c
Function nameLOCCyclomatic complexityToken count
base64len 4 1 20
base64buf_url 22 6 116
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/http.h
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/chngproc.c
Function nameLOCCyclomatic complexityToken count
chngproc 87 22 585
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/http.c
Function nameLOCCyclomatic complexityToken count
dosysread 8 2 53
dosyswrite 8 2 54
dotlsread 11 4 74
dotlswrite 11 4 75
http_init 23 5 100
http_read 15 5 86
http_write 12 3 72
http_disconnect 19 7 123
http_free 10 2 50
http_alloc 88 16 673
http_open 35 7 183
http_close 10 2 50
http_body_read 34 8 219
http_head_get 10 3 61
http_head_status 19 4 122
http_head_parse 57 13 358
http_head_read 54 12 373
http_get_free 8 2 36
http_get 52 8 357
main 29 6 223
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/dnsproc.c
Function nameLOCCyclomatic complexityToken count
host_dns 44 10 276
dnsproc 55 16 331
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/fileproc.c
Function nameLOCCyclomatic complexityToken count
serialise 25 7 190
fileproc 105 33 627
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/jsmn.h
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/jsmn.c
Function nameLOCCyclomatic complexityToken count
jsmn_alloc_token 12 3 70
jsmn_fill_token 7 1 41
jsmn_parse_primitive 34 17 214
jsmn_parse_string 49 27 354
jsmn_parse 126 77 880
jsmn_init 5 1 27
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/util.c
Function nameLOCCyclomatic complexityToken count
sigpipe 5 1 16
readop 15 5 93
readstr 5 1 25
readbuf 37 9 249
writeop 19 5 136
writebuf 23 7 193
writestr 4 1 31
checkexit 21 6 154
checkexit_ext 23 7 163
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/keyproc.c
Function nameLOCCyclomatic complexityToken count
add_ext 17 3 100
keyproc 133 32 861
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/revokeproc.c
Function nameLOCCyclomatic complexityToken count
X509expires 39 7 393
revokeproc 183 54 1228
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/rsa.h
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/main.c
Function nameLOCCyclomatic complexityToken count
main 301 84 2323
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/certproc.c
Function nameLOCCyclomatic complexityToken count
x509buf 28 6 164
certproc 110 32 740
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/rsa.c
Function nameLOCCyclomatic complexityToken count
rsa_key_create 29 8 177
rsa_key_load 13 3 78
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/netproc.c
Function nameLOCCyclomatic complexityToken count
buf_dump 21 7 164
url2host 31 7 192
urlresolve 30 10 228
nreq 34 5 234
sreq 72 14 553
donewreg 21 9 166
dochngreq 26 9 213
dochngresp 19 8 149
dochngcheck 27 8 213
dorevoke 21 9 151
docert 21 9 158
dodirs 21 8 161
dofullchain 15 6 97
netproc 136 44 982
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/patterns.h
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 43
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/server_http.c
Function nameLOCCyclomatic complexityToken count
server_http 10 1 77
server_http_init 3 1 9
server_httpdesc_init 14 3 99
server_httpdesc_free 19 2 108
server_http_authenticate 62 17 454
server_read_http 204 74 1095
server_read_httpcontent 42 9 241
server_read_httpchunks 93 23 521
server_read_httprange 77 18 448
server_reset_http 17 1 107
server_http_time 8 3 58
server_http_host 25 8 169
server_http_parsehost 37 8 252
server_abort_http 129 31 663
server_close_http 15 1 79
server_expand_http 137 44 1018
server_response 106 35 759
server_root_strip 10 4 67
server_getlocation 29 8 177
server_response_http 65 31 571
server_writeresponse_http 13 6 104
server_writeheader_http 21 10 159
server_headers 15 3 125
server_httpmethod_byname 11 2 82
server_httpmethod_byid 12 3 67
server_httpmethod_cmp 6 1 44
server_httperror_byid 10 2 77
server_httperror_cmp 6 1 41
server_log_http 115 46 838
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/config.c
Function nameLOCCyclomatic complexityToken count
config_init 31 8 211
config_purge 20 9 145
config_setreset 13 4 83
config_getreset 8 1 53
config_getcfg 17 3 132
config_setserver 70 16 503
config_settls 38 6 295
config_setserver_tls 17 5 144
config_getserver_auth 11 4 85
config_getserver_config 130 22 974
config_getserver 56 13 441
config_gettls 34 7 235
config_getserver_tls 44 9 276
config_setmedia 15 4 110
config_getmedia 17 3 116
config_setauth 15 4 114
config_getauth 17 3 124
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/http.h
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 49 9 367
control_listen 14 3 96
control_cleanup 7 2 35
control_accept 36 9 282
control_connbyfd 9 2 42
control_close 17 3 123
control_dispatch_imsg 75 19 456
control_imsg_forward 9 2 73
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/httpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/logger.c
Function nameLOCCyclomatic complexityToken count
logger 4 1 32
logger_shutdown 5 1 17
logger_init 9 3 64
logger_close 11 2 62
logger_open_file 26 3 198
logger_open_fd 16 2 95
logger_open_priv 30 5 253
logger_open 26 8 186
logger_start 7 2 32
logger_log 26 8 183
logger_dispatch_parent 23 7 99
logger_dispatch_server 12 3 53
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/patterns.c
Function nameLOCCyclomatic complexityToken count
match_error 5 2 36
check_capture 7 4 52
capture_to_close 8 3 54
classend 26 9 119
match_class 39 12 164
matchbracketclass 21 10 150
singlematch 19 5 109
matchbalance 23 7 128
max_expand 13 4 88
min_expand 12 4 77
start_capture 15 3 111
end_capture 11 3 93
match_capture 13 4 92
match 123 40 617
lmemfind 24 5 134
push_onecapture 19 6 173
push_captures 12 6 101
nospecials 11 3 59
str_find_aux 53 12 381
str_find 15 2 112
str_match 35 7 282
str_match_free 9 2 59
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/server_file.c
Function nameLOCCyclomatic complexityToken count
server_file_access 78 20 492
server_file 30 7 211
server_file_method 12 3 48
server_file_request 58 10 383
server_partial_file_request 104 15 737
server_file_index 132 30 849
server_file_error 46 11 264
server_file_modified_since 15 5 111
parse_ranges 26 7 197
parse_range_spec 36 11 250
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/server_fcgi.c
Function nameLOCCyclomatic complexityToken count
server_fcgi 267 52 1821
fcgi_add_stdin 21 3 144
fcgi_add_param 44 8 376
server_fcgi_read 102 20 592
server_fcgi_header 54 25 473
server_fcgi_writeheader 34 25 313
server_fcgi_writechunk 19 9 135
server_fcgi_getheaders 30 8 225
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/server.c
Function nameLOCCyclomatic complexityToken count
server 5 1 36
server_shutdown 5 1 18
server_privinit 19 7 162
server_tls_cmp 23 9 187
server_tls_load_keypair 16 4 131
server_tls_load_ocsp 22 5 142
server_tls_init 100 17 704
server_generate_ticket_key 7 1 49
server_init 13 4 113
server_launch 16 1 99
server_purge 26 7 175
serverconfig_free 10 1 66
serverconfig_reset 11 1 57
server_byaddr 11 3 74
serverconfig_byid 14 3 78
server_byid 9 2 44
server_foreach 15 3 113
server_match 21 6 137
server_socket_af 18 3 103
server_socket_getport 12 3 63
server_socket 84 27 538
server_socket_listen 15 4 108
server_socket_connect 15 4 99
server_tls_readcb 50 13 328
server_tls_writecb 36 9 228
server_input 37 5 258
server_write 19 6 114
server_dump 9 3 61
server_read 23 5 144
server_error 34 7 172
server_accept 81 15 558
server_tls_handshake 28 7 207
server_inflight_dec 11 3 52
server_sendlog 31 5 206
server_log 41 12 314
server_close 32 11 237
server_dispatch_parent 40 10 197
server_dispatch_logger 8 1 40
server_bufferevent_add 10 2 54
server_bufferevent_printf 14 2 81
server_bufferevent_print 6 2 56
server_bufferevent_write_buffer 6 2 46
server_bufferevent_write_chunk 9 2 52
server_bufferevent_write 6 2 52
server_client_cmp 4 1 28
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/proc.c
Function nameLOCCyclomatic complexityToken count
proc_ispeer 9 3 55
proc_getid 13 3 75
proc_exec 52 11 398
proc_connect 24 9 191
proc_init 42 11 301
proc_accept 24 4 185
proc_setup 42 13 451
proc_kill 30 11 180
proc_open 34 10 319
proc_close 21 6 171
proc_shutdown 11 4 76
proc_sig_handler 17 7 63
proc_run 64 17 574
proc_dispatch 66 16 439
proc_dispatch_null 4 1 23
imsg_event_add 13 3 95
imsg_compose_event 10 2 75
imsg_composev_event 10 2 77
proc_range 9 2 57
proc_compose_imsg 12 3 106
proc_compose 5 1 48
proc_composev_imsg 11 3 106
proc_composev 5 1 50
proc_forward_imsg 6 1 58
proc_ibuf 6 1 48
proc_iev 6 1 46
proc_flush_imsg 17 6 126
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/httpd.c
Function nameLOCCyclomatic complexityToken count
parent_sig_handler 22 6 96
usage 7 1 25
main 123 32 846
parent_configure 44 11 306
parent_reload 24 7 141
parent_reopen 4 1 24
parent_configure_done 16 5 84
parent_shutdown 12 2 85
parent_dispatch_server 13 2 68
parent_dispatch_logger 36 9 197
parent_tls_ticket_rekey_start 9 1 62
parent_tls_ticket_rekey 15 1 129
event_again 16 2 159
expand_string 29 6 204
canonicalize_host 36 12 260
url_decode 29 5 162
canonicalize_path 39 18 252
path_info 19 5 108
url_encode 19 12 160
escape_html 27 6 175
socket_rlimit 13 4 94
evbuffer_getline 24 9 160
get_string 9 4 66
get_data 8 2 47
sockaddr_cmp 53 20 578
prefixlen2mask 8 3 43
prefixlen2mask6 15 4 109
accept_reserve 15 3 97
kv_add 24 6 175
kv_set 20 3 127
kv_setkey 14 2 82
kv_delete 12 2 78
kv_extend 14 5 109
kv_purge 6 2 36
kv_free 8 1 48
kv_inherit 19 5 131
kv_log 17 7 122
kv_find 15 4 94
kv_cmp 4 1 28
media_add 19 4 138
media_delete 6 1 35
media_purge 6 2 36
media_find 17 6 120
media_find_config 10 3 71
media_cmp 4 1 28
auth_add 13 3 100
auth_byid 9 2 45
auth_free 4 1 23
print_host 9 2 63
print_time 12 1 97
printb_flags 31 8 187
getmonotime 7 2 36
Source file: /home/sergeyb/sources/src/usr.sbin/rarpd/arptab.c
Function nameLOCCyclomatic complexityToken count
arptab_init 6 2 30
arptab_set 62 14 348
rtmsg 60 16 370
rtget 35 9 200
Source file: /home/sergeyb/sources/src/usr.sbin/rarpd/rarpd.c
Function nameLOCCyclomatic complexityToken count
main 47 16 221
init_one 20 5 128
init_all 18 7 120
usage 5 1 21
rarp_open 32 9 224
rarp_check 27 10 214
rarp_loop 56 18 416
rarp_bootable 22 6 139
choose_ipaddr 8 3 43
rarp_process 40 10 273
lookup_addrs 51 13 361
rarp_reply 27 4 310
ipaddrtonetmask 10 4 44
warning 14 2 85
error 15 2 90
debug 11 2 64
Source file: /home/sergeyb/sources/src/usr.sbin/ypbind/ypbind.c
Function nameLOCCyclomatic complexityToken count
ypbindproc_null_2x 6 1 41
ypbindproc_domain_2x 62 14 456
ypbindproc_setdom_2x 42 9 245
ypbindprog_2 56 9 318
usage 5 1 18
main 207 44 1468
checkwork 17 4 83
ping 49 6 303
pings 67 9 451
broadcast 40 10 258
direct 51 15 359
handle_replies 41 8 275
handle_ping 41 8 266
rpc_received 86 23 713
xid2ypdb 8 3 41
unique_xid 8 2 35
Source file: /home/sergeyb/sources/src/usr.sbin/pwd_mkdb/pwd_mkdb.c
Function nameLOCCyclomatic complexityToken count
main 180 56 1424
scan 21 5 138
cp 18 7 158
mv 5 2 30
fatal 9 1 42
fatalc 9 1 47
fatalx 9 1 42
cleanup 18 4 121
usage 6 1 21
changedir 11 3 75
write_old_entry 16 4 154
db_store 97 28 793
Source file: /home/sergeyb/sources/src/usr.sbin/relayctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/relayctl/relayctl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 163 63 1015
monitor_lookup 8 3 54
monitor_host_status 18 3 79
monitor_id 8 2 55
monitor 16 3 126
show_summary_msg 101 32 696
show_session_msg 31 5 244
show_command_output 15 3 62
print_rdr_status 11 4 54
print_table_status 12 3 93
print_host_status 15 5 62
print_relay_status 7 2 26
print_statistics 26 3 198
Source file: /home/sergeyb/sources/src/usr.sbin/relayctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 24 6 150
match_token 82 27 500
show_valid_args 28 9 128
Source file: /home/sergeyb/sources/src/usr.sbin/edquota/edquota.c
Function nameLOCCyclomatic complexityToken count
usage 9 1 29
main 86 23 517
getentry 37 9 202
getprivs 78 17 514
putprivs 19 5 163
editit 41 11 303
writeprivs 22 3 217
readprivs 91 23 648
writetimes 22 3 160
readtimes 58 12 406
cvtstoa 20 8 188
cvtatos 17 5 128
freeprivs 8 2 42
alldigits 10 3 57
hasquota 33 10 245
Source file: /home/sergeyb/sources/src/usr.sbin/tftpd/tftpd.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 26
main 88 28 483
rewrite_connect 27 7 212
rewrite_events 6 1 54
rewrite_map 12 4 110
rewrite_req 14 5 80
rewrite_res 28 7 150
tftpd_listen 56 12 369
tftpd_events 9 1 52
client_alloc 15 2 89
client_free 8 2 43
tftpd_recv 95 18 671
parse_options 26 8 178
tftp 93 20 548
tftp_open 19 5 100
validate_access 79 28 530
fget_octet 4 1 19
fput_octet 4 1 24
fget_netascii 24 7 102
fput_netascii 12 4 70
sendfile 6 1 38
file_read 30 5 196
tftp_rrq_ack 57 12 315
tftp_flush 18 5 79
recvfile 5 1 32
tftp_wrq_ack_packet 10 1 82
tftp_wrq_ack 10 2 50
tftp_wrq 70 15 390
tftp_wrq_end 45 10 221
nak 23 6 181
oack 44 8 307
retry 11 3 76
oack_done 36 9 219
getip 9 2 63
rdaemon 25 7 138
syslog_vstrerror 10 2 70
syslog_err 8 1 45
syslog_errx 8 1 43
syslog_warn 7 1 37
syslog_warnx 7 1 35
syslog_info 7 1 35
syslog_debug 9 2 42
Source file: /home/sergeyb/sources/src/usr.sbin/zdump/zdump.c
Function nameLOCCyclomatic complexityToken count
abbrok 24 9 138
usage 6 1 20
main 128 36 878
setabsolutes 13 3 60
yeartot 25 7 110
hunt 39 12 245
delta 18 3 126
show 28 9 174
abbr 9 4 56
tformat 4 1 9
dumptime 45 12 311
Source file: /home/sergeyb/sources/src/usr.sbin/wsfontload/wsfontload.c
Function nameLOCCyclomatic complexityToken count
usage 9 1 39
main 149 43 866
getencoding 10 4 86
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/compress_backend.c
Function nameLOCCyclomatic complexityToken count
compress_backend_lookup 6 2 26
compress_chunk 4 1 36
uncompress_chunk 4 1 36
compress_file 4 1 26
uncompress_file 4 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/bounce.c
Function nameLOCCyclomatic complexityToken count
bounce_init 11 2 51
bounce_add 69 9 570
bounce_fd 26 4 174
bounce_timeout 5 1 23
bounce_drain 40 8 194
bounce_send 13 2 89
bounce_duration 23 8 174
bounce_next_message 34 6 206
bounce_next 166 25 895
bounce_delivery 47 8 301
bounce_status 23 7 142
bounce_free 10 1 50
bounce_io 59 16 339
bounce_message_cmp 12 4 93
action_str 16 5 65
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mta.c
Function nameLOCCyclomatic complexityToken count
mta_imsg 254 45 1710
mta_postfork 3 1 6
mta_postprivdrop 20 1 120
mta_source_error 9 2 64
mta_route_error 9 3 50
mta_route_ok 12 2 70
mta_route_down 4 2 23
mta_route_collect 19 2 123
mta_route_next_task 29 7 208
mta_handle_envelope 71 12 565
mta_delivery_flush_event 44 6 324
mta_delivery_log 20 6 155
mta_delivery_notify 10 2 58
mta_query_mx 21 4 139
mta_query_limits 12 5 93
mta_query_secret 15 2 98
mta_query_preference 15 2 100
mta_query_source 18 2 112
mta_on_mx 36 7 172
mta_on_secret 16 3 88
mta_on_preference 9 1 46
mta_on_source 55 13 328
mta_connect 116 21 792
mta_on_timeout 31 5 158
mta_route_disable 18 4 125
mta_route_enable 15 4 76
mta_drain 50 16 359
mta_flush 46 11 331
mta_find_route 141 40 834
mta_log 17 3 93
mta_relay 71 20 664
mta_relay_ref 4 1 14
mta_relay_unref 28 4 196
mta_relay_to_text 58 11 552
mta_relay_show 60 7 492
mta_relay_cmp 57 39 551
mta_host 16 2 123
mta_host_ref 4 1 14
mta_host_unref 10 2 54
mta_host_to_text 10 2 72
mta_host_cmp 8 3 75
mta_domain 17 2 118
mta_domain_ref 4 1 14
mta_domain_unref 15 3 92
mta_domain_cmp 8 3 61
mta_source 20 4 140
mta_source_ref 4 1 14
mta_source_unref 9 2 47
mta_source_to_text 8 2 52
mta_source_cmp 12 6 112
mta_connector 16 2 121
mta_connector_free 13 2 67
mta_connector_to_text 9 1 52
mta_route 28 3 182
mta_route_ref 4 1 14
mta_route_unref 40 11 265
mta_route_to_text 8 1 48
mta_route_cmp 12 5 83
mta_block 15 3 104
mta_unblock 13 2 82
mta_is_blocked 9 2 52
mta_block_cmp 14 8 109
mta_hoststat_update 22 4 187
mta_hoststat_cache 13 4 88
mta_hoststat_uncache 11 3 70
mta_hoststat_reschedule 15 4 97
mta_hoststat_remove_entry 7 2 43
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/crypto.c
Function nameLOCCyclomatic complexityToken count
crypto_setup 8 2 49
crypto_encrypt_file 45 12 355
crypto_decrypt_file 62 17 457
crypto_encrypt_buffer 36 5 246
crypto_decrypt_buffer 33 5 226
main 48 7 265
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpd.c
Function nameLOCCyclomatic complexityToken count
parent_imsg 89 17 576
usage 7 1 26
parent_shutdown 16 4 87
parent_send_config 7 1 31
parent_send_config_pony 6 1 47
parent_send_config_lka 6 1 46
parent_send_config_ca 6 1 47
parent_sig_handler 94 25 466
main 270 77 1650
start_child 41 10 301
setup_peers 18 6 167
setup_done 14 5 119
setup_proc 39 10 255
setup_peer 43 11 216
imsg_wait 22 9 146
smtpd 44 2 337
load_pki_tree 25 7 165
load_pki_keys 13 3 79
fork_proc_backend 41 9 297
child_add 11 2 77
purge_task 40 12 210
forkmda 93 23 753
offline_scan 44 11 262
offline_enqueue 92 24 655
offline_add 13 3 102
offline_done 12 3 60
parent_forward_open 44 13 245
imsg_dispatch 37 7 218
log_imsg 18 4 113
proc_title 21 8 61
proc_name 23 9 67
imsg_to_str 138 1 687
parent_auth_user 12 2 82
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/stat_backend.c
Function nameLOCCyclomatic complexityToken count
stat_backend_lookup 8 3 42
stat_increment 11 2 71
stat_decrement 11 2 71
stat_set 7 1 54
stat_counter 7 1 30
stat_timestamp 7 1 30
stat_timeval 7 1 33
stat_timespec 7 1 33
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 43
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/aliases.c
Function nameLOCCyclomatic complexityToken count
aliases_get 42 6 248
aliases_virtual_get 91 24 647
aliases_expand_include 18 3 117
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/config.c
Function nameLOCCyclomatic complexityToken count
purge_config 52 11 345
config_process 11 3 70
config_peer 23 9 111
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/dict.c
Function nameLOCCyclomatic complexityToken count
dict_check 6 1 42
dict_alloc 12 2 94
dict_set 17 3 122
dict_xset 9 3 76
dict_get 8 2 60
dict_xget 8 2 66
dict_pop 13 2 91
dict_xpop 13 2 97
dict_poproot 13 3 78
dict_root 12 4 71
dict_iter 17 5 106
dict_iterfrom 28 7 194
dict_merge 12 3 89
dictentry_cmp 4 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mail.file.c
Function nameLOCCyclomatic complexityToken count
main 20 5 107
file_engine 44 13 288
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/envelope.c
Function nameLOCCyclomatic complexityToken count
envelope_set_errormsg 13 3 106
envelope_set_esc_class 4 1 19
envelope_set_esc_code 4 1 19
envelope_buffer_to_dict 33 12 234
envelope_load_buffer 34 7 190
envelope_dump_buffer 56 5 578
ascii_load_uint8 8 2 42
ascii_load_uint16 8 2 42
ascii_load_uint32 8 2 42
ascii_load_time 8 2 42
ascii_load_type 12 4 70
ascii_load_string 6 2 34
ascii_load_sockaddr 25 5 181
ascii_load_mda_method 16 6 104
ascii_load_mailaddr 6 2 29
ascii_load_flags 17 6 105
ascii_load_mta_relay_url 6 2 29
ascii_load_mta_relay_flags 13 4 74
ascii_load_bounce_type 12 4 70
ascii_load_dsn_ret 10 3 53
ascii_load_field 104 41 1123
envelope_ascii_load 14 3 85
ascii_dump_uint8 4 1 26
ascii_dump_uint16 4 1 26
ascii_dump_uint32 4 1 26
ascii_dump_time 4 1 30
ascii_dump_string 4 1 28
ascii_dump_type 18 4 71
ascii_dump_mda_method 24 6 89
ascii_dump_mailaddr 5 1 35
ascii_dump_flags 20 8 139
ascii_dump_mta_relay_url 4 1 32
ascii_dump_mta_relay_flags 18 7 121
ascii_dump_bounce_type 18 4 71
ascii_dump_dsn_ret 10 4 71
ascii_dump_field 109 47 1116
envelope_ascii_dump 21 6 134
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/pony.c
Function nameLOCCyclomatic complexityToken count
pony_imsg 75 46 287
pony_shutdown 5 1 16
pony 39 8 241
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/scheduler_null.c
Function nameLOCCyclomatic complexityToken count
scheduler_null_init 4 1 14
scheduler_null_insert 4 1 14
scheduler_null_commit 4 1 12
scheduler_null_rollback 4 1 12
scheduler_null_update 4 1 14
scheduler_null_delete 4 1 12
scheduler_null_hold 4 1 15
scheduler_null_release 4 1 18
scheduler_null_batch 5 1 33
scheduler_null_schedule 4 1 12
scheduler_null_remove 4 1 12
scheduler_null_suspend 4 1 12
scheduler_null_resume 4 1 12
scheduler_null_messages 4 1 19
scheduler_null_envelopes 4 1 20
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ca.c
Function nameLOCCyclomatic complexityToken count
ca_shutdown 5 1 16
ca 31 8 210
ca_init 24 5 151
ca_verify_cb 18 8 54
ca_X509_verify 31 9 202
ca_imsg 70 15 430
rsae_send_imsg 60 14 393
rsae_pub_enc 6 1 55
rsae_pub_dec 6 1 55
rsae_priv_enc 10 2 86
rsae_priv_dec 10 2 86
rsae_mod_exp 5 1 49
rsae_bn_mod_exp 6 1 63
rsae_init 7 2 43
rsae_finish 7 2 43
rsae_keygen 5 1 47
ca_engine_init 48 13 270
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/control.c
Function nameLOCCyclomatic complexityToken count
control_imsg 77 27 481
control_create_socket 32 8 248
control 40 8 264
control_shutdown 5 1 16
control_listen 8 2 55
control_accept 54 12 354
control_close 20 4 133
control_digest_update 37 14 237
control_dispatch_ext 281 79 1932
control_broadcast_verbose 21 1 166
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery.c
Function nameLOCCyclomatic complexityToken count
delivery_backend_lookup 18 6 56
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/enqueue.c
Function nameLOCCyclomatic complexityToken count
qp_encoded_write 25 11 162
enqueue 239 102 1461
get_responses 42 14 250
send_line 16 4 91
build_from 34 10 269
parse_message 69 39 525
parse_addr 57 51 519
parse_addr_terminal 15 7 96
qualify_addr 10 4 71
rcpt_add 24 6 145
open_connection 32 12 192
enqueue_offline 31 10 220
savedeadletter 43 15 293
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery_filename.c
Function nameLOCCyclomatic complexityToken count
delivery_filename_open 58 17 355
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/iobuf.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtp.c
Function nameLOCCyclomatic complexityToken count
smtp_imsg 40 17 197
smtp_postfork 4 1 10
smtp_postprivdrop 3 1 6
smtp_configure 4 1 10
smtp_setup_listeners 20 5 137
smtp_setup_events 30 5 235
smtp_pause 8 2 43
smtp_resume 8 2 45
smtp_enqueue 18 4 129
smtp_accept 49 14 281
smtp_can_accept 6 2 32
smtp_collect 13 3 51
smtp_sni_callback 13 3 73
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/lka.c
Function nameLOCCyclomatic complexityToken count
lka_imsg 253 46 1712
lka_sig_handler 14 5 72
lka_shutdown 5 1 16
lka 31 6 206
lka_authenticate 28 6 164
lka_credentials 37 6 226
lka_userinfo 22 4 124
lka_addrname 25 4 137
lka_mailaddrmap 34 6 187
lka_X509_verify 39 7 228
lka_certificate_verify 4 1 20
lka_certificate_verify_resume 27 8 198
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/makemap.c
Function nameLOCCyclomatic complexityToken count
purge_config 4 1 20
fork_proc_backend 4 1 25
makemap 149 48 910
parse_map 34 8 206
parse_entry 11 4 68
parse_mapentry 45 14 297
parse_setentry 26 5 191
make_plain 6 1 41
make_aliases 22 4 128
conf_aliases 18 5 109
dump_db 26 7 214
usage 9 2 33
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue_proc.c
Function nameLOCCyclomatic complexityToken count
queue_proc_call 32 9 156
queue_proc_read 10 2 46
queue_proc_end 8 2 28
queue_proc_close 9 1 52
queue_proc_message_create 11 2 71
queue_proc_message_commit 15 2 93
queue_proc_message_delete 10 1 57
queue_proc_message_fd_r 8 1 45
queue_proc_message_corrupt 10 1 57
queue_proc_envelope_create 19 4 140
queue_proc_envelope_delete 10 1 57
queue_proc_envelope_update 15 3 111
queue_proc_envelope_load 15 2 82
queue_proc_envelope_walk 21 4 126
queue_proc_init 26 2 149
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mproc.c
Function nameLOCCyclomatic complexityToken count
mproc_fork 25 5 192
mproc_init 4 1 22
mproc_clear 7 1 53
mproc_enable 10 2 49
mproc_disable 10 2 49
mproc_event_add 17 5 97
mproc_dispatch 56 15 312
imsg_read_nofd 14 3 98
m_forward 14 3 125
m_compose 13 3 89
m_composev 18 4 123
m_create 8 1 51
m_add 26 6 170
m_close 12 2 86
m_flush 13 2 95
m_error 9 1 51
m_msg 6 1 49
m_end 5 2 24
m_is_eom 4 1 20
m_get 8 3 57
m_add_int 4 1 25
m_add_u32 4 1 25
m_add_size 4 1 25
m_add_time 4 1 25
m_add_string 4 1 28
m_add_data 5 1 33
m_add_id 4 1 25
m_add_evpid 4 1 25
m_add_msgid 4 1 25
m_add_sockaddr 5 1 35
m_add_mailaddr 4 1 28
m_add_envelope 7 1 53
m_add_params 16 3 94
m_get_int 4 1 26
m_get_u32 4 1 26
m_get_size 4 1 26
m_get_time 4 1 26
m_get_string 11 3 78
m_get_data 8 2 57
m_get_evpid 4 1 26
m_get_msgid 4 1 26
m_get_id 4 1 26
m_get_sockaddr 6 1 34
m_get_mailaddr 4 1 27
m_get_envelope 10 2 64
m_get_params 16 3 97
m_clear_params 6 2 32
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue_null.c
Function nameLOCCyclomatic complexityToken count
queue_null_message_create 5 1 20
queue_null_message_commit 4 1 17
queue_null_message_delete 4 1 12
queue_null_message_fd_r 4 1 13
queue_null_message_corrupt 4 1 12
queue_null_envelope_create 6 1 32
queue_null_envelope_delete 4 1 12
queue_null_envelope_update 4 1 20
queue_null_envelope_load 4 1 19
queue_null_envelope_walk 4 1 21
queue_null_init 14 1 72
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpf_session.c
Function nameLOCCyclomatic complexityToken count
smtpf_session_init 6 2 21
smtpf_session 8 1 44
smtpf_session_imsg 3 1 14
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/rfc2822.c
Function nameLOCCyclomatic complexityToken count
hdr_dflt_cb 1 1 14
body_dflt_cb 1 1 13
header_reset 8 2 47
header_callback 23 5 163
missing_headers_callback 9 2 60
body_callback 4 1 29
parser_feed_header 25 7 207
parser_feed_body 5 1 24
rfc2822_parser_init 10 1 69
rfc2822_parser_flush 7 2 28
rfc2822_parser_reset 5 1 23
rfc2822_parser_release 14 3 90
rfc2822_parser_feed 17 8 119
rfc2822_header_callback 22 4 181
rfc2822_missing_header_callback 22 4 180
rfc2822_header_default_callback 8 1 52
rfc2822_body_callback 8 1 51
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpd-defines.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue_backend.c
Function nameLOCCyclomatic complexityToken count
profile_enter 7 2 37
profile_leave 10 2 67
queue_message_path 4 1 29
queue_init 36 11 283
queue_close 6 2 22
queue_message_create 11 1 46
queue_message_delete 24 4 129
queue_message_commit 63 15 358
queue_message_corrupt 10 1 44
queue_message_uncorrupt 4 1 13
queue_message_fd_r 64 19 398
queue_message_fd_rw 6 1 39
queue_envelope_dump_buffer 29 6 175
queue_envelope_load_buffer 26 5 155
queue_envelope_cache_add 11 2 87
queue_envelope_cache_update 13 2 82
queue_envelope_cache_del 9 2 52
queue_envelope_create 27 5 161
queue_envelope_delete 13 2 57
queue_envelope_load 36 6 220
queue_envelope_update 18 4 105
queue_message_walk 26 5 167
queue_envelope_walk 27 6 163
queue_generate_msgid 7 2 25
queue_generate_evpid 11 2 42
envelope_validate 16 7 120
queue_api_on_close 4 1 17
queue_api_on_message_create 4 1 18
queue_api_on_message_commit 4 1 21
queue_api_on_message_delete 4 1 17
queue_api_on_message_fd_r 4 1 17
queue_api_on_message_corrupt 4 1 17
queue_api_on_message_uncorrupt 4 1 17
queue_api_on_envelope_create 4 1 26
queue_api_on_envelope_delete 4 1 17
queue_api_on_envelope_update 4 1 23
queue_api_on_envelope_load 4 1 22
queue_api_on_envelope_walk 4 1 23
queue_api_on_message_walk 5 1 31
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table_api.c
Function nameLOCCyclomatic complexityToken count
table_msg_get 13 4 58
table_msg_end 8 2 28
table_msg_add 13 4 78
table_msg_close 5 1 18
table_read_params 16 2 92
table_clear_params 5 2 19
table_msg_dispatch 95 19 554
table_api_on_update 4 1 17
table_api_on_check 4 1 25
table_api_on_lookup 4 1 30
table_api_on_fetch 4 1 26
table_api_get_name 4 1 9
table_api_dispatch 53 17 272
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/parser.c
Function nameLOCCyclomatic complexityToken count
cmd_install 57 15 429
cmd_check 44 16 293
cmd_run 50 15 346
cmd_show_params 27 7 163
text_to_sockaddr 58 16 392
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery_mbox.c
Function nameLOCCyclomatic complexityToken count
delivery_mbox_open 14 2 102
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/runq.c
Function nameLOCCyclomatic complexityToken count
runq_reset 16 3 88
runq_timeout 20 4 121
runq_init 12 2 86
runq_schedule 24 5 165
runq_delay 5 1 48
runq_cancel 17 5 126
runq_pending 13 4 86
runq_next 15 5 95
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/waitq.c
Function nameLOCCyclomatic complexityToken count
waitq_cmp 8 3 50
waitq_wait 18 2 150
waitq_run 14 2 104
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/tree.c
Function nameLOCCyclomatic complexityToken count
tree_check 6 1 40
tree_set 17 3 124
tree_xset 11 3 88
tree_get 8 2 58
tree_xget 8 2 66
tree_pop 13 2 89
tree_xpop 13 2 97
tree_poproot 15 4 93
tree_root 12 4 70
tree_iter 17 5 105
tree_iterfrom 27 7 191
tree_merge 12 3 89
treeentry_cmp 8 3 50
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ruleset.c
Function nameLOCCyclomatic complexityToken count
ruleset_match 61 35 441
ruleset_check_source 20 4 92
ruleset_check_mailaddr 18 4 84
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/expand.c
Function nameLOCCyclomatic complexityToken count
expand_lookup 4 1 27
expand_to_text 12 3 82
expand_insert 33 8 225
expand_clear 12 4 88
expand_free 6 1 28
expand_cmp 49 25 364
expand_line_split 37 17 230
expand_line 25 8 155
expandnode_info 50 14 300
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ssl.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mda.c
Function nameLOCCyclomatic complexityToken count
mda_imsg 302 43 1859
mda_postfork 3 1 5
mda_postprivdrop 6 1 23
mda_io 76 12 439
mda_check_loop 22 7 155
mda_getlastline 32 6 212
mda_fail 18 3 113
mda_drain 49 10 262
mda_done 20 4 132
mda_log 32 8 187
mda_queue_ok 6 1 33
mda_queue_tempfail 9 1 59
mda_queue_permfail 9 1 59
mda_queue_loop 6 1 33
mda_user 36 6 330
mda_user_free 12 2 76
mda_user_to_text 6 1 45
mda_envelope 25 4 254
mda_envelope_free 10 1 56
mda_session 24 1 192
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/rfc2822.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mail.mda.c
Function nameLOCCyclomatic complexityToken count
main 18 4 100
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mail.lmtp.c
Function nameLOCCyclomatic complexityToken count
main 37 8 186
lmtp_connect_inet 63 13 395
lmtp_connect_unix 17 5 136
lmtp_connect 8 3 58
lmtp_engine 57 21 334
stream_file 15 4 102
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/scheduler_proc.c
Function nameLOCCyclomatic complexityToken count
scheduler_proc_call 32 9 156
scheduler_proc_read 10 2 46
scheduler_proc_end 8 2 28
scheduler_proc_init 16 2 99
scheduler_proc_insert 10 1 64
scheduler_proc_commit 11 1 62
scheduler_proc_rollback 11 1 62
scheduler_proc_update 12 2 81
scheduler_proc_delete 11 1 62
scheduler_proc_hold 19 4 139
scheduler_proc_release 21 5 166
scheduler_proc_batch 25 5 215
scheduler_proc_messages 20 4 155
scheduler_proc_envelopes 20 4 156
scheduler_proc_schedule 11 1 62
scheduler_proc_remove 11 1 62
scheduler_proc_suspend 11 1 62
scheduler_proc_resume 11 1 62
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mda_variables.c
Function nameLOCCyclomatic complexityToken count
mda_expand_token 135 51 965
mda_expand_format 64 18 434
mod_lowercase 9 3 52
mod_uppercase 9 3 52
mod_strip 13 4 94
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/scheduler_ramqueue.c
Function nameLOCCyclomatic complexityToken count
scheduler_backoff 4 1 24
scheduler_next 7 2 41
scheduler_ram_init 9 1 53
scheduler_ram_insert 37 4 301
scheduler_ram_commit 17 3 96
scheduler_ram_rollback 17 3 106
scheduler_ram_update 26 5 201
scheduler_ram_delete 15 2 102
scheduler_ram_hold 39 5 276
scheduler_ram_release 35 8 213
scheduler_ram_batch 95 23 690
scheduler_ram_messages 12 3 79
scheduler_ram_envelopes 41 10 312
scheduler_ram_schedule 34 8 211
scheduler_ram_remove 30 8 195
scheduler_ram_suspend 30 8 195
scheduler_ram_resume 30 8 195
scheduler_ram_query 11 3 52
sorted_insert 10 2 71
rq_queue_init 14 1 100
rq_queue_merge 25 5 193
rq_queue_schedule 26 7 163
rq_envelope_list 27 11 174
rq_envelope_schedule 36 8 234
rq_envelope_remove 33 7 240
rq_envelope_suspend 27 6 194
rq_envelope_resume 15 4 91
rq_envelope_delete 12 2 87
rq_envelope_to_text 47 11 409
rq_queue_dump 18 3 126
rq_envelope_cmp 11 7 106
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/util.c
Function nameLOCCyclomatic complexityToken count
xmalloc 9 2 50
xcalloc 9 2 57
xstrdup 9 2 52
xmemdup 10 2 64
io_xprintf 11 2 64
io_xprint 8 2 45
strip 12 4 75
bsnprintf 11 3 69
mkdirs_component 13 5 75
mkdirs 33 13 195
ckdir 48 12 301
rmtree 40 11 208
mvpurge 22 8 146
mktmpfile 16 3 82
safe_fclose 18 6 83
hostname_match 20 9 123
mailaddr_match 20 8 145
valid_localpart 18 7 80
valid_domainpart 27 9 169
secure_file 30 17 237
addargs 26 5 171
lowercase 12 4 69
uppercase 12 4 69
xlowercase 7 3 44
generate_uid 13 3 65
session_socket_error 9 2 50
parse_smtp_response 25 14 178
parse_mailname_file 22 5 134
getmailname 25 6 157
base64_encode 5 1 32
base64_decode 4 1 27
log_trace 9 2 46
log_trace_verbose 5 2 22
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/forward.c
Function nameLOCCyclomatic complexityToken count
forwards_get 47 10 243
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpctl.c
Function nameLOCCyclomatic complexityToken count
usage 10 2 34
stat_increment 3 1 12
stat_decrement 3 1 12
srv_connect 19 3 148
srv_connected 4 2 15
offline_file 19 6 134
srv_flush 5 2 23
srv_send 6 3 51
srv_recv 24 12 169
srv_read 11 4 53
srv_get_int 4 1 19
srv_get_time 4 1 19
srv_get_evpid 4 1 19
srv_get_string 14 3 75
srv_get_envelope 9 1 47
srv_end 6 2 23
srv_check_result 22 6 95
srv_iter_messages 31 6 171
srv_iter_envelopes 44 9 223
srv_iter_evpids 26 7 163
srv_foreach_envelope 31 9 208
srv_show_cmd 15 3 72
do_log_brief 6 1 36
do_log_verbose 6 1 36
do_monitor 46 4 235
do_pause_envelope 7 2 52
do_pause_mda 5 1 27
do_pause_mta 5 1 27
do_pause_smtp 5 1 27
do_profile 7 1 48
do_remove 7 2 52
do_resume_envelope 7 2 52
do_resume_mda 5 1 27
do_resume_mta 5 1 27
do_resume_route 10 2 56
do_resume_smtp 5 1 27
do_schedule 7 2 52
do_show_envelope 13 2 95
do_show_hoststats 5 1 26
do_show_message 17 3 105
do_show_queue 45 16 291
do_show_hosts 5 1 26
do_show_relays 5 1 26
do_show_routes 5 1 26
do_show_stats 45 8 291
do_show_status 15 4 94
do_trace 7 1 48
do_unprofile 7 1 48
do_untrace 7 1 48
do_update_table 6 1 46
do_encrypt 8 2 56
do_block_mta 14 5 166
do_unblock_mta 14 5 166
do_show_mta_block 5 1 26
do_discover 26 6 164
do_uncorrupt 19 5 112
main 63 5 451
sendmail_compat 25 10 210
show_queue_envelope 57 12 464
getflag 8 2 60
show_offline_envelope 37 7 205
display 47 11 311
str_to_trace 31 14 192
str_to_profile 9 3 49
is_gzip_buffer 6 1 30
is_gzip_fp 11 2 67
is_encrypted_buffer 6 1 24
is_encrypted_fp 11 2 64
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue_ram.c
Function nameLOCCyclomatic complexityToken count
get_message 8 2 38
queue_ram_message_create 15 3 90
queue_ram_message_commit 41 7 241
queue_ram_message_delete 19 3 115
queue_ram_message_fd_r 39 6 216
queue_ram_message_corrupt 4 1 15
queue_ram_envelope_create 27 5 177
queue_ram_envelope_delete 21 4 138
queue_ram_envelope_update 24 4 154
queue_ram_envelope_load 17 4 115
queue_ram_envelope_walk 4 1 21
queue_ram_init 15 1 78
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mail.maildir.c
Function nameLOCCyclomatic complexityToken count
main 23 5 106
maildir_engine 45 19 362
mkdirs_component 13 5 76
mkdirs 33 13 197
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/limit.c
Function nameLOCCyclomatic complexityToken count
limit_mta_set_defaults 24 1 135
limit_mta_set 46 21 367
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery_maildir.c
Function nameLOCCyclomatic complexityToken count
mailaddr_tag 18 7 113
delivery_maildir_open 65 24 491
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table_proc.c
Function nameLOCCyclomatic complexityToken count
table_proc_call 32 9 165
table_proc_read 11 3 50
table_proc_end 8 2 28
table_proc_open 18 2 146
table_proc_update 10 1 67
table_proc_close 6 1 44
imsg_add_params 22 7 161
table_proc_lookup 35 10 259
table_proc_fetch 30 7 216
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table.c
Function nameLOCCyclomatic complexityToken count
table_backend_lookup 12 6 76
table_backend_name 12 5 52
table_service_name 16 11 79
table_find 11 3 88
table_lookup 32 9 201
table_fetch 22 6 146
table_create 62 18 446
table_destroy 8 2 53
table_config 6 2 36
table_add 16 5 110
table_check_type 4 1 19
table_check_service 4 1 21
table_check_use 4 2 30
table_open 10 3 61
table_close 5 2 28
table_update 6 2 36
table_domain_match 4 1 22
table_mailaddr_match 10 3 60
table_netaddr_match 16 6 110
table_match_mask 8 3 61
table_inet4_match 13 3 92
table_inet6_match 21 5 181
table_dump_all 36 7 256
table_open_all 9 3 57
table_close_all 8 2 45
table_parse_lookup 85 30 676
table_dump_lookup 64 24 448
parse_sockaddr 60 17 409
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/esc.c
Function nameLOCCyclomatic complexityToken count
esc_code 6 1 45
esc_description 8 3 49
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/scheduler_backend.c
Function nameLOCCyclomatic complexityToken count
scheduler_backend_lookup 8 3 41
scheduler_info 11 1 76
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/iobuf.c
Function nameLOCCyclomatic complexityToken count
iobuf_init 15 5 98
iobuf_clear 10 2 59
iobuf_drain 18 5 112
iobuf_extend 14 4 98
iobuf_left 4 1 18
iobuf_space 4 1 24
iobuf_len 4 1 18
iobuf_data 4 1 18
iobuf_drop 8 2 41
iobuf_getline 17 6 118
iobuf_normalize 12 3 80
iobuf_read 14 5 86
ioqbuf_alloc 19 4 127
iobuf_queued 4 1 14
iobuf_reserve 15 5 105
iobuf_queue 10 3 67
iobuf_queuev 17 5 134
iobuf_fqueue 9 1 50
iobuf_vfqueue 11 2 70
iobuf_write 25 7 156
iobuf_flush 8 3 46
iobuf_flush_ssl 8 3 47
iobuf_write_ssl 28 8 148
iobuf_read_ssl 25 8 137
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/scheduler.c
Function nameLOCCyclomatic complexityToken count
scheduler_imsg 312 44 1881
scheduler_shutdown 5 1 16
scheduler_reset_events 8 1 37
scheduler 40 9 299
scheduler_timeout 109 15 638
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/stat_ramstat.c
Function nameLOCCyclomatic complexityToken count
ramstat_init 6 1 31
ramstat_close 4 1 13
ramstat_increment 15 2 149
ramstat_decrement 15 2 149
ramstat_set 14 2 129
ramstat_iter 17 4 102
ramstat_entry_cmp 4 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/to.c
Function nameLOCCyclomatic complexityToken count
sockaddr_to_text 9 2 51
in6addr_to_text 17 3 148
text_to_mailaddr 32 8 201
mailaddr_to_text 9 2 68
sa_to_text 27 4 218
ss_to_text 4 1 24
time_to_text 26 5 206
duration_to_text 39 7 263
text_to_netaddr 29 4 211
text_to_relayhost 84 27 603
relayhost_to_text 53 13 375
text_to_evpid 14 6 76
text_to_msgid 16 7 87
rule_to_text 79 19 682
text_to_userinfo 39 14 260
text_to_credentials 27 6 178
text_to_expandnode 14 8 99
expandnode_to_text 18 9 71
alias_is_maildir 12 3 97
alias_is_filter 22 7 161
alias_is_username 15 8 117
alias_is_address 32 11 231
alias_is_filename 11 3 81
alias_is_include 15 4 98
alias_is_error 24 11 222
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/dns.c
Function nameLOCCyclomatic complexityToken count
domainname_is_addr 36 12 262
dns_imsg 81 9 616
dns_dispatch_host 27 6 210
dns_dispatch_ptr 11 3 95
dns_dispatch_mx 40 8 293
dns_dispatch_mx_preference 44 9 287
dns_lookup_host 29 4 192
print_dname 25 6 175
dname_expand 42 16 291
unpack_init 7 1 41
unpack_data 12 3 80
unpack_u16 7 2 47
unpack_u32 7 2 47
unpack_inaddr 4 1 26
unpack_in6addr 4 1 26
unpack_dname 16 5 107
unpack_header 11 2 94
unpack_query 7 2 66
unpack_rr 61 15 519
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mailaddr.c
Function nameLOCCyclomatic complexityToken count
mailaddr_line_split 37 17 230
mailaddr_line 23 6 146
maddrmap_init 4 1 17
maddrmap_insert 6 1 44
maddrmap_free 9 2 52
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/compress_gzip.c
Function nameLOCCyclomatic complexityToken count
compress_gzip_chunk 24 4 160
uncompress_gzip_chunk 25 4 164
compress_gzip_file 22 7 137
uncompress_gzip_file 22 7 140
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ssl.c
Function nameLOCCyclomatic complexityToken count
ssl_init 12 2 42
ssl_setup 20 3 141
ssl_load_file 38 7 229
ssl_password_cb 11 3 71
ssl_password_cb 17 4 97
ssl_load_key 55 11 378
ssl_ctx_create 40 9 243
ssl_load_certificate 7 2 44
ssl_load_keyfile 8 2 59
ssl_load_cafile 7 2 44
ssl_to_text 9 1 51
ssl_error 9 2 56
ssl_load_pkey 44 8 265
ssl_ctx_fake_private_key 21 5 133
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery_mda.c
Function nameLOCCyclomatic complexityToken count
delivery_mda_open 11 1 70
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue_fs.c
Function nameLOCCyclomatic complexityToken count
queue_fs_message_create 29 7 152
queue_fs_message_commit 42 12 259
queue_fs_message_fd_r 14 3 81
queue_fs_message_delete 12 3 82
queue_fs_message_corrupt 25 4 160
queue_fs_message_uncorrupt 35 8 214
queue_fs_envelope_create 36 8 226
queue_fs_envelope_load 24 6 128
queue_fs_envelope_update 6 1 49
queue_fs_envelope_delete 18 4 101
queue_fs_message_walk 50 13 339
queue_fs_envelope_walk 27 6 159
fsqueue_check_space 38 10 228
fsqueue_envelope_path 9 2 53
fsqueue_envelope_incoming_path 8 2 41
fsqueue_envelope_dump 49 14 275
fsqueue_message_path 8 2 44
fsqueue_message_corrupt_path 7 2 35
fsqueue_message_incoming_path 7 2 35
fsqueue_qwalk_new 13 2 97
fsqueue_qwalk_close 6 1 27
fsqueue_qwalk 47 15 250
queue_fs_init 34 6 253
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery_lmtp.c
Function nameLOCCyclomatic complexityToken count
inet_socket 38 7 256
unix_socket 15 4 124
lmtp_open 37 16 410
lmtp_banner 29 11 193
lmtp_cmd 38 14 269
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ioev.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table_getpwnam.c
Function nameLOCCyclomatic complexityToken count
table_getpwnam_config 6 2 24
table_getpwnam_update 4 1 12
table_getpwnam_open 4 1 12
table_getpwnam_close 4 1 10
table_getpwnam_lookup 30 9 209
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table_static.c
Function nameLOCCyclomatic complexityToken count
table_static_config 85 29 502
table_static_update 21 4 135
table_static_open 4 1 12
table_static_close 4 1 10
table_static_lookup 39 11 236
table_static_fetch 14 4 116
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpd-api.h
Function nameLOCCyclomatic complexityToken count
evpid_to_msgid 4 1 15
msgid_to_evpid 4 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue.c
Function nameLOCCyclomatic complexityToken count
queue_imsg 420 69 2788
queue_msgid_walk 31 4 214
queue_bounce 35 7 250
queue_shutdown 6 1 20
queue 48 12 324
queue_timeout 34 6 197
queue_log 18 4 160
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ioev.c
Function nameLOCCyclomatic complexityToken count
io_strio 17 3 120
io_strevent 16 1 77
io_set_nonblocking 9 3 58
io_set_nolinger 7 2 53
io_frame_enter 10 2 59
io_frame_leave 13 4 66
_io_init 8 2 30
io_new 14 3 81
io_free 16 5 95
io_hold 8 2 43
io_release 8 3 49
io_set_fd 6 2 30
io_set_callback 5 1 41
io_set_timeout 5 1 27
io_set_lowat 5 1 27
io_pause 6 1 38
io_resume 6 1 40
io_set_read 11 3 64
io_set_write 11 3 64
io_error 4 1 14
io_ssl 4 1 14
io_fileno 4 1 14
io_paused 4 1 27
io_write 7 1 42
io_writev 7 1 43
io_print 4 1 27
io_printf 9 1 48
io_vprintf 11 2 66
io_queued 4 1 18
io_data 4 1 18
io_datalen 4 1 18
io_getline 4 1 24
io_drop 4 1 23
io_reload 18 9 110
io_reset 19 4 156
io_pending 4 1 18
io_strflags 24 7 142
io_evstr 46 11 312
io_dispatch 48 12 272
io_callback 4 1 25
io_connect 24 7 164
io_dispatch_connect 30 5 171
io_ssl_error 11 2 46
io_start_tls 24 6 148
io_dispatch_accept_ssl 30 5 162
io_dispatch_connect_ssl 30 5 162
io_dispatch_read_ssl 41 10 225
io_dispatch_write_ssl 42 9 229
io_reload_ssl 32 10 156
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtp_session.c
Function nameLOCCyclomatic complexityToken count
header_default_callback 10 3 73
dataline_callback 5 1 29
header_bcc_callback 3 1 14
header_append_domain_buffer 64 49 451
header_address_rewrite_buffer 66 44 479
header_domain_append_callback 85 42 644
header_missing_callback 9 3 77
smtp_session_init 17 2 83
smtp_session 37 5 316
smtp_session_imsg 266 39 1741
smtp_tls_verified 21 4 120
smtp_message_fd 50 13 376
smtp_io 114 21 710
smtp_tx 39 6 355
smtp_tx_free 13 3 81
smtp_command 291 69 1731
smtp_rfc4954_auth_plain 45 10 309
smtp_rfc4954_auth_login 38 6 258
dsn_notify_str_to_uint8 12 5 73
smtp_parse_rcpt_args 37 13 245
smtp_parse_mail_args 38 14 304
smtp_lookup_servername 23 3 145
smtp_connected 32 4 226
smtp_send_banner 4 1 22
smtp_enter_state 7 1 39
smtp_message_end 36 7 181
smtp_message_printf 17 3 100
smtp_reply 50 10 332
smtp_free 16 7 113
smtp_mailaddr 37 14 261
smtp_verify_certificate 91 13 666
smtp_auth_failure_resume 6 1 35
smtp_auth_failure_pause 10 1 63
smtp_queue_create_message 7 1 49
smtp_queue_open_message 8 1 60
smtp_queue_commit 8 1 60
smtp_queue_rollback 6 1 39
smtp_dataline 41 13 267
smtp_strstate 19 1 94
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/lka_session.c
Function nameLOCCyclomatic complexityToken count
lka_session 23 2 169
lka_session_forward_reply 70 10 382
lka_resume 55 12 369
lka_expand 176 33 1128
lka_find_ancestor 11 4 56
lka_submit 91 26 777
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mta_session.c
Function nameLOCCyclomatic complexityToken count
mta_session_init 13 2 61
mta_session 52 13 346
mta_session_imsg 124 24 743
mta_tree_pop 12 2 64
mta_free 24 6 141
mta_on_timeout 8 1 43
mta_on_ptr 5 1 28
mta_start 5 1 26
mta_connect 85 23 623
mta_enter_state 233 58 1458
mta_response 221 51 1269
mta_io 182 55 1209
mta_send 13 2 88
mta_queue_data 25 7 182
mta_flush_task 48 8 325
mta_error 27 8 178
mta_start_tls 20 2 124
mta_verify_certificate 92 13 669
mta_tls_verified 18 4 89
dsn_strret 11 3 40
dsn_strnotify 18 6 133
mta_strstate 26 1 113
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ssl_smtpd.c
Function nameLOCCyclomatic complexityToken count
ssl_mta_init 17 3 112
dummy_verify 4 1 14
ssl_smtp_init 16 4 92
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table_db.c
Function nameLOCCyclomatic complexityToken count
table_db_config 9 2 38
table_db_update 10 2 46
table_db_open 22 5 148
table_db_close 6 1 31
table_db_lookup 33 8 233
table_db_fetch 19 4 156
table_db_get_entry_match 19 3 147
table_db_get_entry 16 3 129
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/sbuffer.h
Function nameLOCCyclomatic complexityToken count
sldns_read_uint16 6 2 55
sldns_read_uint32 9 2 83
sldns_write_uint16 7 2 66
sldns_write_uint32 9 2 104
sldns_write_uint48 10 1 130
sldns_buffer_invariant 3 1 11
sldns_buffer_invariant 7 4 62
sldns_buffer_clear 6 1 27
sldns_buffer_flip 6 1 27
sldns_buffer_rewind 5 1 19
sldns_buffer_position 4 1 13
sldns_buffer_set_position 5 2 30
sldns_buffer_skip 5 2 34
sldns_buffer_limit 4 1 13
sldns_buffer_set_limit 7 2 44
sldns_buffer_capacity 4 1 13
sldns_buffer_at 5 2 32
sldns_buffer_begin 4 1 17
sldns_buffer_end 4 1 18
sldns_buffer_current 4 1 18
sldns_buffer_remaining_at 6 3 44
sldns_buffer_remaining 4 1 18
sldns_buffer_available_at 4 1 24
sldns_buffer_available 4 1 23
sldns_buffer_write_at 13 4 99
sldns_buffer_set_at 13 4 97
sldns_buffer_write 5 1 35
sldns_buffer_write_string_at 4 1 30
sldns_buffer_write_string 4 1 25
sldns_buffer_write_u8_at 6 3 57
sldns_buffer_write_u8 5 1 31
sldns_buffer_write_u16_at 6 3 59
sldns_buffer_write_u16 5 1 31
sldns_buffer_write_u32_at 6 3 59
sldns_buffer_write_u48_at 6 3 53
sldns_buffer_write_u32 5 1 31
sldns_buffer_write_u48 5 1 28
sldns_buffer_read_at 5 1 43
sldns_buffer_read 5 1 34
sldns_buffer_read_u8_at 5 1 34
sldns_buffer_read_u8 6 1 32
sldns_buffer_read_u16_at 5 1 36
sldns_buffer_read_u16 6 1 32
sldns_buffer_read_u32_at 5 1 36
sldns_buffer_read_u32 6 1 32
sldns_buffer_status 4 1 16
sldns_buffer_status_ok 8 2 28
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/str2wire.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/parse.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/wire2str.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/pkthdr.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/keyraw.c
Function nameLOCCyclomatic complexityToken count
sldns_rr_dnskey_key_size_raw 48 18 205
sldns_calc_keytag_raw 22 6 141
sldns_key_EVP_load_gost_id 35 7 185
sldns_key_EVP_unload_gost 8 2 26
sldns_key_buf2dsa_raw 51 12 322
sldns_key_buf2rsa_raw 48 10 267
sldns_gost2pkey_raw 16 2 170
sldns_ecdsa2pkey_raw 36 10 227
sldns_ed255192pkey_raw 15 3 132
sldns_digest_evp 16 5 91
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/parse.c
Function nameLOCCyclomatic complexityToken count
sldns_fget_token 4 1 34
sldns_fget_token_l 125 54 660
sldns_fget_keyword_data 6 1 48
sldns_fget_keyword_data_l 24 6 161
sldns_bgetc 8 2 49
sldns_bget_token 4 1 36
sldns_bget_token_par 113 53 618
sldns_bskipcs 20 6 115
sldns_fskipcs 4 1 22
sldns_fskipcs_l 21 7 108
sldns_bget_keyword_data 24 6 156
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/parseutil.c
Function nameLOCCyclomatic complexityToken count
sldns_lookup_by_name 9 3 45
sldns_lookup_by_id 9 3 38
is_leap_year 5 3 37
leap_days 8 1 65
sldns_mktime_from_utc 20 4 135
sldns_year_and_yday_from_days_since_epoch 13 4 96
sldns_mon_and_mday_from_year_and_yday 11 3 69
sldns_wday_from_year_and_yday 11 2 77
sldns_gmtime64_r 15 1 113
sldns_serial_arithmitics_time 5 1 28
sldns_serial_arithmitics_gmtime_r 7 2 52
sldns_hexdigit_to_int 23 23 133
sldns_str2period 70 28 270
sldns_parse_escape 23 10 218
sldns_parse_char 10 3 60
sldns_b32_ntop_calculate_size 4 2 28
sldns_b32_ntop_calculate_size_no_padding 4 1 22
sldns_b32_ntop_base 50 14 546
sldns_b32_ntop 4 1 35
sldns_b32_ntop_extended_hex 5 1 35
sldns_b32_pton_calculate_size 4 1 14
sldns_b32_pton_base 79 35 658
sldns_b32_pton 4 1 35
sldns_b32_pton_extended_hex 5 1 35
sldns_b64_ntop_calculate_size 4 1 26
sldns_b64_ntop 41 8 398
sldns_b64_pton_calculate_size 4 1 28
sldns_b64_pton 49 18 443
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/keyraw.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/wire2str.c
Function nameLOCCyclomatic complexityToken count
sldns_wire2str_pkt 8 2 67
sldns_wire2str_rr 8 2 67
sldns_wire2str_type 6 1 31
sldns_wire2str_class 6 1 31
sldns_wire2str_dname 8 2 67
sldns_wire2str_rcode 6 1 31
sldns_wire2str_pkt_buf 4 1 34
sldns_wire2str_rr_buf 4 1 38
sldns_wire2str_rdata_buf 6 1 43
sldns_wire2str_rr_unknown_buf 4 1 38
sldns_wire2str_rr_comment_buf 7 1 51
sldns_wire2str_type_buf 4 1 26
sldns_wire2str_class_buf 4 1 26
sldns_wire2str_rcode_buf 4 1 26
sldns_wire2str_opcode_buf 4 1 26
sldns_wire2str_dname_buf 4 1 38
sldns_str_vprint 14 3 86
sldns_str_print 9 1 53
print_hex_buf 10 2 89
print_remainder_hex 10 1 72
sldns_wire2str_pkt_scan 48 11 430
sldns_rr_tcttl_scan 32 4 266
sldns_wire2str_rr_scan 59 11 533
sldns_wire2str_rrquestion_scan 23 3 201
sldns_wire2str_rr_unknown_scan 32 5 280
rr_comment_dnskey 28 6 232
rr_comment_rrsig 13 4 101
rr_comment_nsec3 15 5 111
sldns_wire2str_rr_comment_print 12 4 96
sldns_wire2str_header_scan 39 12 481
sldns_wire2str_rdata_scan 38 8 249
sldns_wire2str_rdata_unknown_scan 12 2 93
dname_char_print 13 9 118
sldns_wire2str_dname_scan 60 25 485
sldns_wire2str_opcode_print 8 3 65
sldns_wire2str_rcode_print 8 3 65
sldns_wire2str_class_print 9 3 68
sldns_wire2str_type_print 8 3 64
sldns_wire2str_edns_option_code_print 10 3 68
sldns_wire2str_class_scan 10 3 86
sldns_wire2str_type_scan 10 3 86
sldns_wire2str_ttl_scan 10 3 91
sldns_wire2str_rdf_scan 82 39 592
sldns_wire2str_int8_scan 9 2 66
sldns_wire2str_int16_scan 9 2 72
sldns_wire2str_int32_scan 9 2 72
sldns_wire2str_period_scan 9 2 71
sldns_wire2str_tsigtime_scan 19 2 202
sldns_wire2str_a_scan 12 3 95
sldns_wire2str_aaaa_scan 13 4 99
str_char_print 14 6 99
sldns_wire2str_str_scan 17 4 140
sldns_wire2str_apl_scan 38 15 363
sldns_wire2str_b32_ext_scan 20 4 162
sldns_wire2str_b64_scan_num 16 2 112
sldns_wire2str_b64_scan 7 2 54
sldns_wire2str_hex_scan 7 2 53
sldns_wire2str_nsec_scan 40 12 295
sldns_wire2str_nsec3_salt_scan 17 4 124
sldns_wire2str_cert_alg_scan 14 4 114
sldns_wire2str_alg_scan 4 1 32
sldns_wire2str_unknown_scan 4 1 32
sldns_wire2str_time_scan 17 4 131
loc_cm_print 14 4 104
sldns_wire2str_loc_scan 73 6 566
sldns_wire2str_wks_scan 49 15 368
sldns_wire2str_nsap_scan 4 1 34
sldns_wire2str_atma_scan 4 1 34
sldns_wire2str_ipseckey_scan_internal 37 8 257
sldns_wire2str_ipseckey_scan 16 2 106
sldns_wire2str_hip_scan 20 3 181
sldns_wire2str_int16_data_scan 18 4 127
sldns_wire2str_nsec3_next_owner_scan 5 1 32
sldns_wire2str_ilnp64_scan 12 2 98
sldns_wire2str_eui48_scan 11 2 110
sldns_wire2str_eui64_scan 12 2 126
sldns_wire2str_tag_scan 18 6 166
sldns_wire2str_long_str_scan 12 2 99
sldns_wire2str_tsigerror_scan 14 4 114
sldns_wire2str_edns_llq_print 35 4 318
sldns_wire2str_edns_ul_print 14 2 89
sldns_wire2str_edns_nsid_print 19 6 141
sldns_wire2str_edns_dau_print 14 4 107
sldns_wire2str_edns_dhu_print 14 4 107
sldns_wire2str_edns_n3u_print 12 3 85
sldns_wire2str_edns_subnet_print 57 9 514
sldns_wire2str_edns_keepalive_print 18 4 117
sldns_wire2str_edns_option_print 40 10 237
print_edns_opts 30 4 193
sldns_wire2str_edns_scan 52 10 408
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/str2wire.c
Function nameLOCCyclomatic complexityToken count
sldns_str2wire_dname_buf_rel 81 22 471
sldns_str2wire_dname_buf 4 1 29
sldns_str2wire_dname_buf_origin 20 7 139
sldns_str2wire_dname 11 3 81
rrinternal_get_owner 50 11 307
rrinternal_get_ttl 19 5 127
rrinternal_get_class 16 5 105
rrinternal_get_type 16 5 100
rrinternal_write_typeclassttl 20 4 142
rrinternal_get_delims 16 8 59
sldns_rdf_type_maybe_quoted 5 2 16
rrinternal_get_quoted 18 7 99
rrinternal_spool_hex 30 7 194
rrinternal_parse_unknown 38 9 247
rrinternal_parse_rdf 56 11 339
sldns_parse_rdf_token 45 23 364
sldns_affix_token 16 3 131
rrinternal_parse_rdata 79 26 571
sldns_str2wire_rr_buf_internal 37 9 326
sldns_str2wire_rr_buf 7 1 62
sldns_str2wire_rr_question_buf 7 1 59
sldns_wirerr_get_type 6 2 33
sldns_wirerr_get_class 6 2 35
sldns_wirerr_get_ttl 6 2 35
sldns_wirerr_get_rdatalen 6 2 35
sldns_wirerr_get_rdata 6 2 32
sldns_wirerr_get_rdatawl 6 2 32
sldns_get_errorstr_parse 6 2 32
sldns_strip_ws 10 6 90
sldns_fp2wire_rr_buf 58 21 452
sldns_str2wire_rdf_buf 81 38 487
sldns_str2wire_int8_buf 12 3 87
sldns_str2wire_int16_buf 12 3 87
sldns_str2wire_int32_buf 18 5 129
sldns_str2wire_a_buf 11 3 79
sldns_str2wire_aaaa_buf 12 4 75
sldns_str2wire_str_buf 21 6 128
sldns_str2wire_apl_buf 67 18 443
sldns_str2wire_b64_buf 16 4 94
sldns_str2wire_b32_ext_buf 14 3 98
sldns_str2wire_hex_buf 28 10 209
sldns_str2wire_nsec_buf 53 15 400
sldns_str2wire_type_buf 11 4 68
sldns_str2wire_class_buf 11 4 68
sldns_str2wire_cert_alg_buf 17 5 98
sldns_str2wire_alg_buf 13 3 77
sldns_str2wire_tsigerror_buf 13 3 77
sldns_str2wire_time_buf 35 16 278
sldns_str2wire_tsigtime_buf 17 3 119
sldns_str2wire_period_buf 12 3 75
loc_parse_cm 31 8 180
sldns_str2wire_loc_buf 133 33 893
ldns_tolower_str 9 3 40
sldns_str2wire_wks_buf 59 23 462
sldns_str2wire_nsap_buf 31 11 225
sldns_str2wire_atma_buf 27 9 200
sldns_str2wire_ipseckey_buf 57 16 509
sldns_str2wire_nsec3_salt_buf 25 9 210
sldns_str2wire_ilnp64_buf 20 5 159
sldns_str2wire_eui48_buf 19 4 139
sldns_str2wire_eui64_buf 21 4 163
sldns_str2wire_tag_buf 17 5 119
sldns_str2wire_long_str_buf 15 4 83
sldns_str2wire_hip_buf 37 9 324
sldns_str2wire_int16_data_buf 26 7 171
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/rrdef.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/sbuffer.c
Function nameLOCCyclomatic complexityToken count
sldns_buffer_new 19 3 105
sldns_buffer_new_frm_data 18 4 116
sldns_buffer_init_frm_data 8 1 56
sldns_buffer_init_vfixed_frm_data 8 1 56
sldns_buffer_set_capacity 15 3 87
sldns_buffer_reserve 17 4 101
sldns_buffer_printf 34 7 216
sldns_buffer_free 9 3 36
sldns_buffer_export 5 1 19
sldns_buffer_copy 9 2 58
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/rrdef.c
Function nameLOCCyclomatic complexityToken count
sldns_rr_descript 16 4 70
sldns_rr_descriptor_minimum 8 2 26
sldns_rr_descriptor_maximum 12 3 42
sldns_rr_descriptor_field_type 12 3 60
sldns_get_rr_type_by_name 30 17 253
sldns_get_rr_class_by_name 12 4 66
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/parseutil.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/ipsecmod/ipsecmod-whitelist.c
Function nameLOCCyclomatic complexityToken count
whitelist_str_cfg 26 4 162
read_whitelist 10 3 61
ipsecmod_whitelist_apply_cfg 9 2 48
whitelist_free 7 2 41
whitelist_get_mem 8 2 53
ipsecmod_whitelist_delete 7 2 28
ipsecmod_domain_is_whitelisted 7 2 50
ipsecmod_whitelist_get_mem 8 2 32
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/ipsecmod/ipsecmod.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/ipsecmod/ipsecmod-whitelist.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/ipsecmod/ipsecmod.c
Function nameLOCCyclomatic complexityToken count
ipsecmod_apply_cfg 11 6 65
ipsecmod_init 16 3 92
ipsecmod_deinit 10 3 67
ipsecmod_new 14 2 119
ipsecmod_error 5 1 27
generate_request 20 2 145
call_hook 74 11 579
ipsecmod_handle_query 61 16 443
ipsecmod_handle_response 29 9 191
ipsecmod_operate 41 16 281
ipsecmod_inform_super 25 5 148
ipsecmod_clear 6 2 28
ipsecmod_get_mem 7 2 51
ipsecmod_get_funcblock 4 1 10
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/respip/respip.c
Function nameLOCCyclomatic complexityToken count
respip_set_create 13 3 66
respip_set_delete 7 2 28
respip_set_get_tree 6 2 23
respip_find_or_create 25 6 165
respip_tag_cfg 18 4 102
respip_action_cfg 32 10 197
new_rrset 28 4 172
respip_enter_rr 56 16 395
respip_data_cfg 11 3 75
respip_set_apply_cfg 51 10 304
respip_global_apply_cfg 9 1 63
respip_views_apply_cfg 36 9 219
copy_rrset 42 6 413
respip_init 6 1 25
respip_deinit 5 1 22
rdata2sockaddr 22 5 197
respip_addr_lookup 27 7 173
make_new_reply_info 16 4 115
respip_data_answer 50 13 400
respip_nodata_answer 27 10 166
populate_action_info 23 6 154
respip_rewrite_reply 81 21 493
generate_cname_request 14 2 120
respip_operate 65 20 425
respip_merge_cname 41 11 273
respip_inform_super 21 6 152
respip_clear 4 1 21
respip_get_mem 6 1 25
respip_get_funcblock 4 1 10
resp_addr_get_action 4 2 19
resp_addr_get_rrset 4 2 18
respip_set_is_empty 4 2 23
respip_inform_print 18 3 186
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/respip/respip.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/smallapp/unbound-checkconf.c
Function nameLOCCyclomatic complexityToken count
usage 13 1 62
print_option 12 5 92
check_mod 19 5 145
localzonechecks 9 3 50
view_and_respipchecks 18 6 118
warn_hosts 19 5 114
interfacechecks 32 12 259
aclchecks 14 3 78
is_file 17 4 77
is_dir 17 4 80
basedir 10 4 58
check_chroot_string 18 7 111
check_chroot_filelist 8 2 59
check_chroot_filelist_wild 15 8 137
ecs_conf_checks 9 3 52
morechecks 151 105 1325
check_fwd 8 3 43
check_hints 8 3 43
checkconf 32 9 221
main 37 11 188
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/smallapp/unbound-host.c
Function nameLOCCyclomatic complexityToken count
usage 30 1 147
isip4 13 2 125
isip6 26 4 182
massage_qname 16 4 84
massage_type 16 7 91
massage_class 13 5 69
secure_str 6 3 30
pretty_type 6 1 46
pretty_class 6 1 46
pretty_rcode 6 1 43
print_rd 6 1 50
pretty_rdata 20 7 138
pretty_output 72 29 504
dnslook 14 2 98
lookup 18 3 152
check_ub_res 7 2 32
main 78 24 399
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/smallapp/worker_cb.c
Function nameLOCCyclomatic complexityToken count
worker_handle_control_cmd 6 1 43
worker_handle_request 7 1 41
worker_handle_reply 7 1 41
worker_handle_service_reply 7 1 41
remote_accept_callback 7 1 41
remote_control_callback 7 1 41
worker_sighandler 4 1 22
worker_send_query 11 1 85
worker_win_stop_cb 4 1 28
wsvc_cron_cb 4 1 16
worker_alloc_cleanup 4 1 16
libworker_send_query 11 1 85
libworker_handle_reply 7 1 41
libworker_handle_service_reply 7 1 41
libworker_handle_control_cmd 6 1 43
libworker_fg_done_cb 6 1 44
libworker_bg_done_cb 6 1 44
libworker_event_done_cb 6 1 44
context_query_cmp 5 1 28
worker_stat_timer_cb 4 1 16
worker_probe_timer_cb 4 1 16
worker_start_accept 4 1 16
worker_stop_accept 4 1 16
order_lock_cmp 10 5 87
codeline_cmp 4 1 22
replay_var_compare 5 1 28
remote_get_opt_ssl 4 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/smallapp/unbound-anchor.c
Function nameLOCCyclomatic complexityToken count
usage 33 1 164
get_builtin_cert 26 1 29
get_builtin_ds 6 1 10
print_data 9 2 61
ub_ctx_error_exit 7 5 55
create_unbound_context 33 15 249
verb_cert 13 6 88
verb_certs 9 4 76
read_cert_bio 23 8 120
read_cert_file 46 15 262
read_builtin_cert 24 7 133
read_cert_or_builtin 11 4 67
do_list_builtin 8 1 43
verb_addr 13 4 130
ip_list_free 9 2 35
RR_to_ip 34 8 285
resolve_host_ip 31 13 226
parse_ip_addr 31 7 243
resolve_name 25 6 155
wipe_ip_usage 7 2 27
count_unused 9 3 39
pick_random_ip 16 8 100
fd_close 5 1 17
print_sock_err 5 3 43
connect_to_ip 17 4 105
setup_sslctx 9 3 39
TLS_initiate 37 12 199
TLS_shutdown 9 2 46
write_ssl_line 24 7 172
process_one_header 17 8 137
read_ssl_line 32 13 182
read_http_headers 13 4 75
read_data_chunk 30 11 194
parse_chunk_header 9 2 51
do_chunked_read 54 18 328
write_http_get 11 5 64
read_chunked_zero_terminate 25 9 160
read_http_result 22 7 129
https_to_ip 31 6 161
https 19 6 119
free_file_bio 8 1 43
xml_selectbio 13 5 94
xml_charhandle 32 13 208
find_att 9 3 59
xml_convertdate 49 17 315
handle_keydigest 27 9 178
xml_is_zone_name 13 4 110
xml_startelem 31 10 213
xml_append_str 7 3 48
xml_append_bio 19 9 134
xml_append_ds 13 1 103
xml_endelem 17 7 123
xml_entitydeclhandler 12 2 86
xml_parse_setup 28 10 245
xml_parse 47 13 313
get_usage_of_ex 14 4 84
get_valid_signers 73 28 473
verify_p7sig 58 20 353
write_unsigned_root 26 8 141
write_root_anchor 26 11 182
verify_and_update_anchor 16 3 98
do_wsa_cleanup 1 1 10
do_certupdate 34 6 245
try_read_anchor 39 17 248
write_builtin_anchor 15 7 112
provide_builtin 16 4 53
add_5011_probe_root 10 3 58
prime_root_key 17 5 94
read_if_pending_keys 19 7 120
read_last_success_time 26 9 175
probe_date_allows_certupdate 28 10 146
do_root_update_work 33 12 236
main 83 25 371
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/smallapp/unbound-control.c
Function nameLOCCyclomatic complexityToken count
usage 76 2 377
timeval_divide 13 2 88
pr_stats 35 3 312
print_uptime 6 1 42
print_mem 12 4 97
print_hist 18 3 142
print_extended 65 21 615
do_stats_shm 17 3 111
print_stats_shm 32 8 259
ssl_err 6 1 28
setup_ctx 38 15 260
contact_server 58 23 435
setup_ssl 30 10 170
send_file 7 3 59
send_eof 6 2 43
go_cmd 47 19 415
go 24 6 177
main 74 26 455
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/cachedb/cachedb.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/cachedb/cachedb.c
Function nameLOCCyclomatic complexityToken count
testframe_init 16 2 103
testframe_deinit 13 2 74
testframe_lookup 25 4 161
testframe_store 30 3 194
cachedb_find_backend 6 2 29
cachedb_apply_cfg 12 3 63
cachedb_init 23 6 142
cachedb_deinit 12 4 82
cachedb_new 10 2 68
error_response 10 2 64
calc_hash 35 8 331
prep_data 34 6 284
good_expiry_and_qinfo 12 3 82
packed_rrset_ttl_subtract 13 4 92
adjust_msg_ttl 12 3 99
parse_data 49 8 384
cachedb_extcache_lookup 16 4 113
cachedb_extcache_store 10 2 92
cachedb_intcache_lookup 19 4 140
cachedb_intcache_store 8 2 55
cachedb_handle_query 36 10 214
cachedb_handle_response 10 3 65
cachedb_operate 40 16 289
cachedb_inform_super 5 1 33
cachedb_clear 10 3 53
cachedb_get_mem 7 2 44
cachedb_get_funcblock 4 1 10
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_anchor.c
Function nameLOCCyclomatic complexityToken count
anchor_cmp 13 3 93
anchors_create 20 4 133
assembled_rrset_delete 14 3 82
anchors_delfunc 22 4 126
anchors_delete 13 3 82
anchors_init_parents_locked 23 5 151
init_parents 6 1 30
anchor_find 21 4 140
anchor_new_ta 31 7 186
anchor_find_key 11 5 75
anchor_new_ta_key 15 3 97
anchor_store_new_key 40 9 242
anchor_store_new_rr 16 2 111
anchor_insert_insecure 14 2 78
anchor_store_str 20 3 129
anchor_read_file 55 14 329
skip_to_eol 8 3 34
is_bind_special 11 5 31
readkeyword_bindfile 67 26 393
skip_to_special 20 6 129
process_bind_contents 78 25 495
anchor_read_bind_file 38 8 239
anchor_read_bind_file_wild 48 17 296
assemble_it 63 9 459
anchors_assemble 15 5 82
anchors_ds_unsupported 10 4 61
anchors_dnskey_unsupported 9 3 51
anchors_assemble_rrsets 56 12 332
anchors_apply_cfg 110 44 819
anchors_lookup 35 7 215
anchors_get_mem 11 2 60
anchors_add_insecure 21 3 144
anchors_delete_insecure 26 6 194
keytag_compare 8 3 56
anchor_list_keytags 24 11 202
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_sigcrypt.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/autotrust.c
Function nameLOCCyclomatic complexityToken count
autr_global_create 9 2 49
autr_global_delete 7 2 34
probetree_cmp 11 4 92
autr_get_num_anchors 11 3 57
position_in_string 7 2 50
verbose_key 18 3 139
parse_comments 83 20 399
str_contains_data 11 6 56
dnskey_flags 11 3 58
rr_is_dnskey_sep 4 1 28
ta_is_dnskey_sep 8 1 62
rr_is_dnskey_revoked 4 1 28
autr_ta_create 12 2 71
autr_tp_create 45 6 347
autr_rrset_delete 8 2 38
autr_point_delete 23 4 138
find_add_tp 21 4 122
add_trustanchor_frm_rr 17 3 121
add_trustanchor_frm_str 39 7 244
load_trustanchor 26 5 172
assemble_iterate_ds 16 3 114
assemble_iterate_dnskey 18 5 134
assemble_iterate_hasfirst 7 1 57
assemble_iterate_count 10 2 70
ub_packed_rrset_heap_key 21 4 172
packed_rrset_heap_data 64 12 519
autr_assemble 37 7 224
parse_int 11 2 59
parse_id 23 4 125
parse_var_line 52 17 520
handle_origin 17 5 107
read_multiline 49 14 287
autr_read_file 70 15 425
trustanchor_state2str 12 7 52
print_id 15 3 98
autr_write_contents 67 19 509
autr_write_file 42 11 296
verify_dnskey 12 2 94
rrsig_get_expiry 6 2 34
min_expiry 14 4 115
rr_is_selfsigned_revoked 11 1 69
seen_trustanchor 6 2 31
seen_revoked_trustanchor 4 1 18
revoke_dnskey 17 5 111
dnskey_compare_skip_revbit 19 6 104
ta_compare 22 7 188
find_key 17 5 100
add_key 27 3 219
key_ttl 5 1 30
set_tp_times 34 11 260
init_events 7 2 40
check_contains_revoked 41 9 342
key_matches_a_ds 31 8 187
update_events 47 11 371
check_holddown 16 3 99
reset_holddown 5 1 32
set_trustanchor_state 8 1 57
do_newkey 5 2 37
do_addtime 16 4 110
do_remtime 9 3 74
do_keyrem 8 3 65
do_keypres 5 2 37
do_revoked 9 3 70
anchor_state_update 39 15 220
init_zsk_to_ksk 27 10 164
remove_missing_trustanchors 43 14 250
do_statetable 11 3 74
autr_holddown_exceed 9 4 65
autr_cleanup_keys 22 6 132
calc_next_probe 14 4 92
wait_probe_time 7 2 48
reset_worker_timer 13 3 100
set_next_probe 34 3 282
autr_tp_remove 37 3 286
autr_process_prime 77 19 462
autr_debug_print_ta 16 7 139
autr_debug_print_tp 34 8 328
autr_debug_print 11 1 65
probe_answer_cb 8 1 59
probe_anchor 36 4 276
todo_probe 24 3 216
autr_probe_timer 17 4 93
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_nsec.c
Function nameLOCCyclomatic complexityToken count
rrset_get_ttl 5 1 30
nsecbitmap_has_type_rdata 26 8 165
nsec_has_type 13 5 115
nsec_get_next 18 5 124
val_nsec_proves_no_ds 16 5 89
nsec_verify_rrset 18 4 127
val_nsec_prove_nodata_dsreply 68 21 441
nsec_proves_nodata 67 23 396
val_nsec_proves_name_error 33 14 194
val_nsec_proves_insecuredelegation 17 7 93
nsec_closest_encloser 13 3 84
val_nsec_proves_positive_wildcard 14 4 75
val_nsec_proves_no_wc 27 5 157
dlv_topdomain 8 1 61
val_nsec_check_dlv 49 14 340
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/validator.c
Function nameLOCCyclomatic complexityToken count
fill_nsec3_iter 36 8 284
val_apply_cfg 46 11 277
val_init 20 4 126
val_deinit 16 3 109
val_new_getmsg 36 8 306
val_new 12 2 90
val_error 6 1 30
needs_validation 29 11 166
already_validated 10 3 45
generate_request 42 6 285
generate_keytag_query 38 5 280
prime_trust_anchor 26 6 168
validate_msg_signatures 66 15 503
detect_wrongly_truncated 18 7 135
remove_spurious_authority 32 10 230
validate_positive_response 53 16 341
validate_nodata_response 58 18 352
validate_nameerror_response 60 15 368
validate_referral_response 14 3 89
validate_any_response 61 16 360
validate_cname_response 64 20 421
validate_cname_noanswer_response 82 27 460
processInit 138 37 1077
processFindKey 101 20 722
processValidate 138 22 900
val_dlv_init 87 15 631
processFinished 108 28 786
processDLVLookup 78 16 596
val_handle 31 7 160
val_operate 69 17 441
primeResponseToKE 61 9 411
ds_response_to_ke 164 26 1028
process_ds_response 48 9 315
process_dnskey_response 72 10 467
process_prime_response 50 12 348
process_dlv_response 65 14 493
val_inform_super 34 6 234
val_clear 6 2 28
val_get_mem 9 2 69
val_get_funcblock 4 1 10
val_state_to_string 11 6 47
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_nsec3.c
Function nameLOCCyclomatic complexityToken count
rrset_get_count 7 2 38
nsec3_unknown_flags 9 3 78
nsec3_has_optout 9 3 78
nsec3_get_algo 9 3 76
nsec3_known_algo 13 4 83
nsec3_get_iter 12 3 96
nsec3_get_salt 20 4 147
nsec3_get_params 11 4 88
nsec3_get_nextowner 27 5 206
nsec3_hash_to_b32 16 4 114
nsec3_get_nextowner_b32 12 2 91
nsec3_has_type 20 5 172
filter_next 32 10 240
filter_first 6 1 38
nsec3_rrset_has_known 9 4 56
filter_init 31 11 227
get_max_iter 10 3 72
nsec3_iteration_count_high 17 3 114
nsec3_hash_cmp 32 8 258
nsec3_get_hashed 31 6 222
nsec3_calc_hash 35 5 290
nsec3_calc_b32 18 3 111
nsec3_hash_name 38 7 241
label_compare_lower 14 4 95
nsec3_hash_matches_owner 11 5 95
find_matching_nsec3 28 5 175
nsec3_covers 32 15 277
find_covering_nsec3 29 5 183
nsec3_find_closest_encloser 16 3 110
next_closer 9 2 63
nsec3_prove_closest_encloser 46 9 294
nsec3_ce_wildcard 17 3 103
nsec3_do_prove_nameerror 33 7 210
nsec3_prove_nameerror 18 7 135
nsec3_do_prove_nodata 97 30 587
nsec3_prove_nodata 16 7 120
nsec3_prove_wildcard 35 10 254
list_is_secure 25 6 185
nsec3_prove_nods 64 16 385
nsec3_prove_nxornodata 29 11 203
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_secalgo.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_nsec3.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/validator.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_kentry.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_neg.c
Function nameLOCCyclomatic complexityToken count
val_neg_data_compare 7 1 64
val_neg_zone_compare 12 3 93
val_neg_create 16 3 112
val_neg_get_mem 8 1 43
neg_clear_datas 6 1 39
neg_clear_zones 8 1 59
neg_cache_delete 7 2 42
neg_lru_front 10 2 56
neg_lru_remove 10 3 64
neg_lru_touch 8 2 38
neg_delete_zone 24 5 156
neg_delete_data 29 6 186
neg_make_space 6 3 39
neg_find_zone 14 1 90
neg_find_data 13 1 79
calc_data_need 18 4 140
calc_zone_need 10 2 61
neg_closest_zone_parent 28 6 176
neg_closest_data_parent 27 5 161
neg_setup_zone_node 20 3 116
neg_zone_chain 29 6 164
val_neg_zone_take_inuse 10 3 50
neg_create_zone 26 7 180
reply_find_soa 9 3 64
reply_has_nsec 16 5 103
neg_setup_data_node 18 3 98
neg_data_chain 28 6 159
wipeout 47 15 342
neg_insert_data 79 21 551
val_neg_addreply 39 9 311
neg_closest_data 17 2 106
val_neg_dlvlookup 78 16 526
reply_nsec_signer 24 7 163
val_neg_addreferral 42 10 297
nsec3_no_type 9 3 66
grab_nsec 31 11 227
neg_find_nsec3_ce 27 6 199
neg_params_ok 11 5 85
neg_nsec3_getnc 26 9 207
neg_nsec3_proof_ds 62 19 442
add_soa 27 5 163
val_neg_getmsg 52 17 385
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_nsec.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/autotrust.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_sigcrypt.c
Function nameLOCCyclomatic complexityToken count
rrset_get_count 7 2 38
rrset_get_sigcount 5 1 30
rrset_get_sig_keytag 10 2 89
rrset_get_sig_algo 8 2 77
rrset_get_rdata 8 2 73
dnskey_get_flags 12 2 68
dnskey_get_protocol 9 2 54
dnskey_get_algo 9 2 54
dnskey_get_pubkey 14 2 90
ds_get_key_algo 9 2 54
ds_get_digest_algo 9 2 54
ds_get_keytag 11 2 64
ds_get_sigdata 14 2 80
ds_digest_size_algo 4 1 23
ds_create_dnskey_digest 19 1 138
ds_digest_match_dnskey 37 9 202
ds_digest_algo_is_supported 5 1 24
ds_key_algo_is_supported 5 1 23
dnskey_calc_keytag 7 1 44
dnskey_algo_is_supported 6 1 23
algo_needs_init_dnskey_add 19 4 123
algo_needs_init_list 13 2 92
algo_needs_init_ds 23 5 160
algo_needs_set_secure 10 3 51
algo_needs_set_bogus 4 2 30
algo_needs_num_missing 4 1 14
algo_needs_missing 11 5 69
dnskeyset_verify_rrset 49 11 291
algo_needs_reason 12 4 106
dnskey_verify_rrset 33 7 215
dnskeyset_verify_rrset_sig 34 7 226
canonical_compare_byfield 99 39 627
canonical_compare 59 32 362
canonical_tree_compare 7 1 65
canonical_sort 12 3 94
insert_can_owner 26 4 196
canonicalize_rdata 81 34 409
rrset_canonical_equal 55 19 531
rrset_canonical 48 7 355
sigdate_error 22 8 192
check_dates 50 12 340
adjust_ttl 33 8 238
dnskey_verify_rrset_sig 105 17 715
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_kentry.c
Function nameLOCCyclomatic complexityToken count
key_entry_sizefunc 14 4 123
key_entry_compfunc 11 3 77
key_entry_delkeyfunc 9 2 56
key_entry_deldatafunc 8 1 53
key_entry_hash 7 1 63
key_entry_copy_toregion 40 11 257
key_entry_copy 61 12 357
key_entry_isnull 5 2 39
key_entry_isgood 5 2 39
key_entry_isbad 5 1 35
key_entry_set_reason 5 1 35
key_entry_get_reason 5 1 30
key_entry_setup 20 4 163
key_entry_create_null 16 2 99
key_entry_create_rrset 26 5 198
key_entry_create_bad 16 2 99
key_entry_get_rrset 26 6 204
dnskey_get_keysize 12 2 103
kd_get_flags 9 2 58
key_entry_keysize 16 6 110
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_kcache.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_anchor.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_utils.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_secalgo.c
Function nameLOCCyclomatic complexityToken count
nsec3_hash_algo_size_supported 9 2 24
secalgo_nsec3_hash 11 2 49
secalgo_hash_sha256 4 1 29
ds_digest_size_supported 20 11 72
do_gost94 7 2 51
secalgo_ds_digest 24 10 115
dnskey_algo_id_is_supported 27 23 90
log_crypto_error 6 1 40
setup_dsa_sig 31 8 206
setup_ecdsa_sig 47 12 414
ecdsa_evp_workaround_init 9 1 58
setup_key_digest 127 43 573
verify_canonrrset 99 43 659
nsec3_hash_algo_size_supported 9 2 24
secalgo_nsec3_hash 11 2 55
secalgo_hash_sha256 4 1 35
ds_digest_size_supported 14 8 41
secalgo_ds_digest 21 8 96
dnskey_algo_id_is_supported 20 17 60
nss_key_create 20 3 93
nss_buf2ecdsa 42 9 318
nss_buf2dsa 53 9 351
nss_buf2rsa 40 8 245
nss_setup_key_digest 87 27 526
verify_canonrrset 85 15 522
_digest_nettle 41 5 184
nsec3_hash_algo_size_supported 9 2 24
secalgo_nsec3_hash 11 2 50
secalgo_hash_sha256 4 1 32
ds_digest_size_supported 17 9 51
secalgo_ds_digest 18 8 90
dnskey_algo_id_is_supported 20 17 57
_verify_nettle_dsa 69 16 486
_verify_nettle_rsa 68 10 414
_verify_nettle_ecdsa 55 6 385
_verify_nettle_ed25519 17 4 92
verify_canonrrset 54 28 286
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_neg.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_utils.c
Function nameLOCCyclomatic complexityToken count
val_classify_response 45 29 369
rrsig_get_signer 16 3 77
val_find_rrset_signer 13 2 80
val_find_best_signer 25 5 169
val_find_signer 87 26 568
rrset_get_count 7 2 38
rrset_get_ttl 7 2 38
val_verify_rrset 42 7 341
val_verify_rrset_entry 17 1 148
verify_dnskeys_with_ds_rr 40 9 244
val_favorite_ds_algo 15 5 85
val_verify_DNSKEY_with_DS 55 16 342
val_verify_new_DNSKEYs 22 5 195
val_verify_DNSKEY_with_TA 88 31 561
val_verify_new_DNSKEYs_with_ta 25 5 202
val_dsset_isusable 34 10 253
rrsig_get_labcount 6 2 41
val_rrset_wildcard 31 6 185
val_chase_cname 18 5 130
rrset_has_signer 17 5 133
val_fill_reply 57 18 495
val_reply_remove_auth 11 1 87
val_check_nonsecure 44 8 328
check_no_anchor 8 2 55
val_mark_indeterminate 17 4 141
val_mark_insecure 14 4 115
val_next_unchecked 12 3 75
val_classification_to_string 16 10 73
sock_list_logentry 6 2 50
val_blacklist 19 8 141
val_has_signed_nsecs 22 9 167
val_find_DS 31 4 224
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_kcache.c
Function nameLOCCyclomatic complexityToken count
key_cache_create 22 3 120
key_cache_delete 7 2 28
key_cache_insert 14 5 100
key_cache_search 15 2 102
key_cache_obtain 23 5 139
key_cache_get_mem 4 1 23
key_cache_remove 11 1 72
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dns64/dns64.c
Function nameLOCCyclomatic complexityToken count
reverse 7 2 35
uitoa 9 2 49
extract_ipv4 10 2 146
ipv4_to_ptr 13 2 99
ptr_to_ipv6 20 9 171
synthesize_aaaa 14 2 230
dns64_apply_cfg 20 6 132
dns64_init 15 3 86
dns64_deinit 7 2 38
handle_ipv6_ptr 31 6 268
generate_type_A_query 21 3 128
handle_event_pass 16 9 135
handle_event_moddone 12 7 80
dns64_operate 22 4 135
dns64_synth_aaaa_data 63 9 518
dns64_adjust_a 58 11 489
dns64_adjust_ptr 15 2 131
dns64_inform_super 24 8 176
dns64_clear 4 1 21
dns64_get_mem 7 2 44
dns64_get_funcblock 4 1 10
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dns64/dns64.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dnstap/dnstap.c
Function nameLOCCyclomatic complexityToken count
dt_pack 17 3 117
dt_send 10 3 59
dt_msg_init 21 3 178
dt_create 39 5 228
dt_apply_identity 22 6 147
dt_apply_version 15 5 107
dt_apply_cfg 37 8 187
dt_init 7 2 34
dt_delete 10 2 50
dt_fill_timeval 9 1 52
dt_fill_buffer 7 1 46
dt_msg_fill_net 35 7 263
dt_msg_send_client_query 20 3 183
dt_msg_send_client_response 20 3 183
dt_msg_send_outside_query 34 6 269
dt_msg_send_outside_response 40 6 329
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dnstap/dnstap.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgparse.c
Function nameLOCCyclomatic complexityToken count
smart_compare 13 7 106
new_rrset 30 3 212
nsec_at_apex 33 9 196
pkt_rrset_flags 10 5 56
pkt_hash_rrset 10 1 85
pkt_hash_rrset_first 6 1 31
pkt_hash_rrset_rest 9 1 67
rrset_parse_equals 10 7 83
msgparse_hashtable_lookup 13 3 89
pkt_rrsig_covered 15 3 103
pkt_rrsig_covered_equals 7 3 40
msgparse_bucket_remove 12 3 74
change_section 37 12 223
rrset_has_sigover 14 3 81
moveover_rrsigs 41 8 250
change_rrsig_rrset 45 10 330
find_rrset 97 25 647
parse_query_section 18 6 121
get_rdf_size 30 13 84
calc_size 51 14 287
skip_ttl_rdata 12 3 62
sig_is_double 28 7 170
add_rr_to_rrset 41 15 266
parse_section 76 19 521
parse_packet 28 9 252
parse_edns_options 20 4 100
parse_extract_edns 52 16 357
parse_edns_from_pkt 36 8 247
log_edns_opt_list 17 4 105
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgencode.c
Function nameLOCCyclomatic complexityToken count
compress_tree_search 30 4 172
compress_tree_lookup 17 6 93
compress_tree_newnode 14 2 87
compress_tree_store 34 7 172
write_compressed_dname 26 6 146
compress_owner 40 12 288
compress_any_dname 17 5 122
type_rdata_compressable 8 3 46
compress_rdata 45 10 260
rrset_belongs_in_reply 23 14 83
packed_rrset_encode 76 22 588
insert_section 45 11 316
insert_query 20 6 164
positive_answer 19 7 132
reply_info_encode 94 20 664
calc_edns_field_size 11 4 71
attach_edns_record 31 6 219
reply_info_answer_encode 41 15 289
qinfo_query_encode 18 3 143
error_encode 41 8 309
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/packed_rrset.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/dname.c
Function nameLOCCyclomatic complexityToken count
query_dname_len 20 7 96
dname_valid 21 6 90
query_dname_compare 28 11 170
query_dname_tolower 13 3 56
pkt_dname_tolower 29 9 160
pkt_dname_len 40 13 201
dname_pkt_compare 38 13 245
dname_query_hash 19 3 109
dname_pkt_hash 24 4 145
dname_pkt_copy 26 4 138
dname_print 28 9 155
dname_count_labels 12 2 44
dname_count_size_labels 15 2 64
memlowercmp 13 5 90
dname_lab_cmp 68 16 340
dname_buffer_write 17 4 92
dname_str 38 11 189
dname_strict_subdomain 10 3 60
dname_strict_subdomain_c 5 1 30
dname_subdomain_c 12 3 70
dname_is_root 8 1 39
dname_remove_label 12 4 74
dname_remove_labels 6 2 38
dname_signame_label_count 17 5 79
dname_is_wild 4 2 25
memcanoncmp 12 5 74
dname_canon_lab_cmp 46 11 236
dname_canonical_compare 7 1 48
dname_get_shared_topdomain 10 1 71
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/packed_rrset.c
Function nameLOCCyclomatic complexityToken count
ub_packed_rrset_parsedelete 12 2 68
ub_rrset_sizefunc 8 1 71
packed_rrset_sizeof 13 2 117
ub_rrset_compare 31 11 225
ub_rrset_key_delete 9 1 66
rrset_data_delete 5 1 32
rrsetdata_equal 15 6 119
rrset_key_hash 10 1 87
packed_rrset_ptr_fixup 15 2 134
get_cname_target 21 7 160
packed_rrset_ttl_add 8 2 54
rrset_trust_to_string 19 14 95
sec_status_to_string 11 6 47
log_rrset_key 7 2 55
packed_rr_to_string 27 5 276
log_packed_rrset 17 4 117
ub_packed_rrset_ttl 6 1 30
packed_rrset_copy_region 36 7 274
packed_rrset_copy_alloc 25 4 192
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgparse.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgreply.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgencode.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/dname.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgreply.c
Function nameLOCCyclomatic complexityToken count
parse_create_qinfo 17 4 131
construct_reply_info_base 32 6 274
parse_create_repinfo 10 2 69
reply_info_alloc_rrset_keys 22 5 157
soa_find_minttl 7 2 47
rdata_copy 69 19 444
parse_rr_copy 38 5 334
parse_create_rrset 22 8 153
get_rrset_trust 32 15 171
parse_copy_decompress_rrset 25 4 210
parse_copy_decompress 23 5 168
parse_create_msg 15 6 109
reply_info_parse 27 5 187
reply_info_sortref_cmp 8 3 68
reply_info_sortref 5 1 32
reply_info_set_ttls 16 5 133
reply_info_parsedelete 10 3 58
query_info_parse 19 7 135
query_info_compare 12 2 97
query_info_clear 5 1 22
msgreply_sizefunc 11 1 101
query_entry_delete 7 1 50
reply_info_delete 5 1 32
query_info_hash 10 3 86
query_info_entrysetup 18 2 191
repinfo_copy_rrsets 33 6 257
reply_info_copy 22 6 136
reply_find_final_cname_target 18 7 135
reply_find_answer_rrset 22 10 178
reply_find_rrset_section_an 15 6 107
reply_find_rrset_section_ns 15 6 113
reply_find_rrset 15 6 107
log_dns_msg 20 3 133
log_reply_info 30 4 240
log_query_info 5 1 37
reply_check_cname_chain 18 5 126
reply_all_rrsets_secure 10 3 59
edns_opt_append 23 5 149
edns_opt_list_append 24 5 148
edns_opt_list_remove 22 10 140
inplace_cb_reply_call_generic 19 3 142
inplace_cb_reply_call 8 1 62
inplace_cb_reply_cache_call 9 1 62
inplace_cb_reply_local_call 9 1 62
inplace_cb_reply_servfail_call 11 2 72
inplace_cb_query_call 15 2 123
inplace_cb_edns_back_parsed_call 13 2 81
inplace_cb_query_response_call 12 2 88
edns_opt_copy_region 22 6 127
edns_opt_compare 14 9 126
edns_opt_list_compare 16 8 81
edns_opt_list_free 10 2 42
edns_opt_copy_alloc 26 6 137
edns_opt_list_find 9 3 47
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/lookup3.c
Function nameLOCCyclomatic complexityToken count
hash_set_raninit 4 1 11
hashword 27 6 143
hashword2 29 6 161
hashlittle 134 61 1512
hashlittle2 139 61 1566
hashbig 92 45 1068
driver1 15 4 106
driver2 62 15 615
driver3 80 8 1136
driver4 13 3 93
main 8 1 25
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/slabhash.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/dnstree.c
Function nameLOCCyclomatic complexityToken count
name_tree_compare 12 3 93
addr_tree_compare 13 4 101
name_tree_init 4 1 16
addr_tree_init 4 1 16
name_tree_insert 11 1 77
addr_tree_insert 10 1 75
addr_tree_init_parents 20 5 126
name_tree_init_parents 20 5 124
name_tree_find 11 1 72
name_tree_lookup 28 6 172
addr_tree_lookup 27 7 174
addr_tree_find 12 1 80
name_tree_next_root 40 9 235
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/lruhash.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/slabhash.c
Function nameLOCCyclomatic complexityToken count
slabhash_create 38 7 264
slabhash_delete 12 4 64
slabhash_clear 8 3 44
slab_idx 4 1 28
slabhash_insert 5 1 48
slabhash_lookup 5 1 41
slabhash_remove 4 1 35
slabhash_status 11 2 99
slabhash_get_size 10 2 73
slabhash_get_mem 9 2 65
slabhash_gettable 4 1 25
delkey 2 1 24
deldata 1 1 14
test_slabhash_sizefunc 5 1 31
test_slabhash_compfunc 10 3 66
test_slabhash_delkey 4 1 25
test_slabhash_deldata 4 1 25
slabhash_setmarkdel 7 2 44
slabhash_traverse 7 2 64
count_slabhash_entries 10 2 73
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/dnstree.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/lruhash.c
Function nameLOCCyclomatic complexityToken count
bin_init 10 3 69
lruhash_create 34 3 236
bin_delete 17 3 105
bin_split 25 3 186
lruhash_delete 11 3 67
bin_overflow_remove 13 3 69
reclaim_space 24 5 185
bin_find_entry 11 4 69
table_grow 29 4 206
lru_front 9 2 56
lru_remove 9 3 64
lru_touch 8 3 45
lruhash_insert 46 6 386
lruhash_lookup 18 4 143
lruhash_remove 33 3 275
bin_clear 20 3 140
lruhash_clear 18 3 119
lruhash_status 32 8 262
lruhash_get_mem 18 5 139
lruhash_setmarkdel 6 1 34
lruhash_traverse 21 4 163
lru_demote 18 4 85
lruhash_insert_or_retrieve 44 6 331
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/lookup3.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/shm_side/shm_main.c
Function nameLOCCyclomatic complexityToken count
stat_timeval_subtract 11 2 73
shm_main_init 63 12 519
shm_main_shutdown 16 7 142
shm_main_run 43 7 453
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/shm_side/shm_main.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/ub_event.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/alloc.c
Function nameLOCCyclomatic complexityToken count
alloc_setup_special 6 1 39
prealloc_setup 16 3 84
prealloc_blocks 15 3 79
alloc_init 25 3 169
alloc_clear 38 8 228
alloc_get_id 14 2 88
alloc_special_obtain 32 6 187
pushintosuper 19 4 145
alloc_special_release 20 6 107
alloc_stats 5 2 36
alloc_get_mem 17 4 109
alloc_reg_obtain 11 2 61
alloc_reg_release 13 3 77
alloc_set_id_cleanup 6 1 35
unbound_stat_malloc 12 3 89
unbound_stat_calloc 15 5 126
unbound_stat_free 15 3 97
unbound_stat_realloc 33 8 238
unbound_stat_malloc_log 6 1 42
unbound_stat_calloc_log 7 1 52
unbound_stat_free_log 12 3 99
unbound_stat_realloc_log 7 1 50
unbound_stat_malloc_lite 11 2 114
unbound_stat_calloc_lite 16 4 143
unbound_stat_free_lite 25 4 212
unbound_stat_realloc_lite 38 7 300
unbound_strdup_lite 9 2 71
unbound_lite_wrapstr 6 1 31
unbound_lite_pkt2wire 19 3 114
unbound_lite_i2d_DSA_SIG 15 3 93
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/log.c
Function nameLOCCyclomatic complexityToken count
log_init 59 22 305
log_file 6 1 24
log_thread_set 4 1 15
log_thread_get 7 3 44
log_ident_set 4 1 13
log_set_time 4 1 12
log_set_time_asc 4 1 11
log_vmsg 65 27 522
log_info 7 1 37
log_err 7 1 37
log_warn 7 1 37
fatal_exit 8 1 42
verbose 13 4 85
log_hex_f 25 5 216
log_hex 4 1 27
log_buf 6 2 42
wsa_strerror 104 95 606
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/random.c
Function nameLOCCyclomatic complexityToken count
ub_systemseed 3 1 11
ub_initstate 10 2 52
ub_random 4 1 22
ub_random_max 5 1 30
ub_systemseed 3 1 11
ub_initstate 10 2 58
ub_random 10 2 63
ub_systemseed 4 1 16
ub_initstate 25 4 202
ub_random 10 3 60
ub_random_max 8 2 54
ub_randfree 4 1 14
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/fptr_wlist.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/tube.c
Function nameLOCCyclomatic complexityToken count
tube_create 30 5 179
tube_delete 9 2 41
tube_close_read 7 2 34
tube_close_write 7 2 34
tube_remove_bg_listen 9 2 43
tube_remove_bg_write 18 4 90
tube_handle_listen 61 14 462
tube_handle_write 55 15 367
tube_write_msg 42 13 276
tube_read_msg 60 15 394
pollit 11 2 74
tube_poll 6 1 37
tube_wait 4 1 19
tube_read_fd 4 1 14
tube_setup_bg_listen 14 2 80
tube_setup_bg_write 11 2 60
tube_queue_item 21 4 128
tube_handle_signal 5 1 28
tube_create 21 4 128
tube_delete 13 3 78
tube_close_read 4 1 19
tube_close_write 7 2 43
tube_remove_bg_listen 5 1 23
tube_remove_bg_write 15 3 76
tube_write_msg 12 2 76
tube_read_msg 35 9 209
tube_poll 10 2 48
tube_wait 17 3 53
tube_read_fd 4 1 16
tube_handle_listen 6 1 41
tube_handle_write 6 1 41
tube_setup_bg_listen 11 3 75
tube_setup_bg_write 5 1 23
tube_queue_item 24 4 155
tube_handle_signal 15 3 104
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/timehist.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/as112.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/module.c
Function nameLOCCyclomatic complexityToken count
strextstate 13 8 59
strmodulevent 13 8 59
edns_known_options_init 8 2 48
edns_known_options_delete 6 1 28
edns_register_option 24 6 137
inplace_cb_register 25 4 151
inplace_cb_delete 24 4 118
edns_option_is_known 8 3 53
edns_bypass_cache_stage 10 5 75
unique_mesh_state 12 6 84
log_edns_known_options 19 6 140
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/net_help.c
Function nameLOCCyclomatic complexityToken count
str_is_ip6 6 2 25
fd_set_nonblock 19 6 112
fd_set_block 20 8 124
is_pow2 5 2 29
memdup 10 4 59
log_addr 33 7 275
extstrtoaddr 20 5 140
ipstrtoaddr 37 7 288
netblockstrtoaddr 32 10 216
log_nametypeclass 30 12 253
log_name_addr 31 8 270
log_err_addr 19 4 189
sockaddr_cmp 36 11 274
sockaddr_cmp_addr 26 7 198
addr_is_ip6 7 3 45
addr_mask 19 4 156
addr_in_common 32 7 235
addr_to_str 11 3 104
addr_is_ip4mapped 10 2 102
addr_is_broadcast 7 3 72
addr_is_any 14 7 128
sock_list_insert 15 3 108
sock_list_prepend 10 3 52
sock_list_find 13 5 69
sock_list_merge 9 3 74
log_crypto_err 12 3 78
listen_sslctx_setup 35 12 173
listen_sslctx_setup_2 20 8 98
listen_sslctx_create 44 10 239
connect_sslctx_create 51 13 277
incoming_ssl_fd 18 4 95
outgoing_ssl_fd 18 4 95
ub_crypto_id_cb 4 1 15
ub_crypto_lock_cb 9 2 55
ub_openssl_lock_init 14 4 81
ub_openssl_lock_delete 12 4 57
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/timehist.c
Function nameLOCCyclomatic complexityToken count
timestwo 13 4 69
dosetup 12 2 85
timehist_setup 16 3 88
timehist_delete 7 2 28
timehist_clear 6 2 38
timeval_smaller 11 4 63
timehist_insert 11 3 79
timehist_print 14 3 117
timehist_log 19 3 161
timehist_count 7 2 45
timehist_quartile 24 6 220
timehist_export 9 4 72
timehist_import 9 4 71
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/config_file.c
Function nameLOCCyclomatic complexityToken count
config_create 195 24 1335
config_create_forlib 23 2 137
config_set_option 232 37 1836
config_print_func 5 1 34
config_collate_func 8 3 54
config_get_option_list 15 3 91
config_get_option_collate 12 3 79
config_collate_cat 29 7 180
config_get_option 192 6 1631
create_cfg_parser 11 1 62
config_read 67 22 407
cfg_stub_find 11 3 67
config_delstrlist 10 2 42
config_deldblstrlist 11 2 49
config_deltrplstrlist 12 2 56
config_delstub 8 2 42
config_delstubs 9 2 35
config_delview 9 2 49
config_delviews 9 2 35
config_del_strarray 10 3 49
config_del_strbytelist 11 2 49
config_delete 65 5 453
init_outgoing_availports 16 5 109
cfg_mark_ports 38 15 283
cfg_scan_ports 10 3 47
cfg_condense_ports 17 5 127
ub_c_error_va_list 8 1 48
ub_c_error_msg 7 1 33
ub_c_error 6 1 31
ub_c_wrap 4 1 9
cfg_strlist_append 17 5 97
cfg_region_strlist_insert 15 4 81
cfg_strlist_insert 13 4 76
cfg_str2list_insert 14 5 89
cfg_str3list_insert 16 6 102
cfg_strbytelist_insert 16 5 98
cfg_convert_timeval 21 14 203
cfg_count_numbers 20 10 106
isalldigit 8 3 49
cfg_parse_memsize 39 21 316
find_tag_id 9 3 57
config_add_tag 22 5 143
cfg_set_bit 7 1 50
config_parse_taglist 31 6 172
config_taglist2str 20 6 156
taglist_intersect 12 6 73
config_apply 12 1 76
config_lookup_uid 11 5 63
strlen_after_chroot 30 20 246
fname_after_chroot 38 21 348
next_space_pos 10 6 69
last_space_pos 10 6 69
cfg_parse_local_zone 37 13 240
cfg_ptr_reverse 68 15 508
w_lookup_reg_str 32 10 216
w_config_adjust_directory 18 7 136
errinf 23 7 147
errinf_origin 19 5 153
errinf_to_str 24 4 207
errinf_rrset 13 3 130
errinf_dname 10 4 82
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/module.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/regional.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/netevent.c
Function nameLOCCyclomatic complexityToken count
comm_base_create 23 4 180
comm_base_create_event 15 3 91
comm_base_delete 15 4 84
comm_base_delete_no_base 14 4 75
comm_base_timept 5 1 38
comm_base_dispatch 9 2 44
comm_base_exit 6 2 29
comm_base_set_slow_accept_handlers 7 1 51
comm_base_internal 4 1 16
udp_send_errno_needs_log 26 21 119
tcp_connect_errno_needs_log 4 1 20
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/alloc.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/netevent.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/mini_event.c
Function nameLOCCyclomatic complexityToken count
mini_ev_cmp 18 7 134
settime 8 2 45
event_init 36 8 236
event_get_version 4 1 10
event_get_method 4 1 9
handle_timeouts 27 6 212
handle_select 45 14 336
event_base_dispatch 18 6 86
event_base_loopexit 6 1 26
event_base_free 9 2 42
event_set 11 1 81
event_base_set 6 1 29
event_add 32 12 292
event_del 16 6 164
sigh 11 5 69
signal_add 12 4 83
signal_del 8 3 50
mini_ev_cmp 4 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/random.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/configyyrename.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/rbtree.c
Function nameLOCCyclomatic complexityToken count
rbtree_create 10 2 57
rbtree_init 6 1 41
rbtree_rotate_left 19 4 114
rbtree_rotate_right 19 4 114
rbtree_insert_fixup 40 8 279
rbtree_insert 33 6 179
rbtree_search 9 2 40
swap_int8 4 1 29
swap_np 4 1 30
change_parent_ptr 14 8 108
change_child_ptr 7 4 53
rbtree_delete 50 13 396
rbtree_delete_fixup 85 29 495
rbtree_find_less_equal 24 4 118
rbtree_first 6 2 36
rbtree_last 6 2 36
rbtree_next 15 5 83
rbtree_previous 15 5 83
traverse_post 8 3 68
traverse_postorder 5 1 36
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/winsock_event.c
Function nameLOCCyclomatic complexityToken count
mini_ev_cmp 18 7 134
settime 8 2 45
find_fd 9 3 52
zero_waitfor 8 3 46
event_init 36 6 220
event_get_version 4 1 10
event_get_method 4 1 9
handle_timeouts 31 6 250
handle_signal 20 6 129
handle_select 176 60 1258
event_base_dispatch 18 6 86
event_base_loopexit 7 1 33
event_base_free 10 2 49
event_set 12 1 87
event_base_set 8 1 41
event_add 70 25 580
event_del 34 12 335
sigh 11 5 69
signal_add 12 4 83
signal_del 8 3 50
winsock_tcp_wouldblock 8 3 49
winsock_register_wsaevent 18 2 137
winsock_unregister_wsaevent 11 5 120
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/config_file.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/as112.c
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/tube.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/locks.c
Function nameLOCCyclomatic complexityToken count
ub_thread_blocksigs 12 8 92
ub_thread_sig_unblock 14 8 106
ub_thr_fork_create 15 3 91
ub_thr_fork_wait 9 3 63
ub_thread_key_get 6 1 27
log_win_err 12 2 79
lock_basic_init 4 1 18
lock_basic_destroy 4 1 18
lock_basic_lock 8 2 33
lock_basic_unlock 4 1 18
ub_thread_key_create 9 2 51
ub_thread_key_set 6 2 32
ub_thread_key_get 8 3 46
ub_thread_create 13 2 92
ub_thread_self 4 1 11
ub_thread_join 14 4 71
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/net_help.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/rtt.c
Function nameLOCCyclomatic complexityToken count
calc_rto 9 3 46
rtt_init 6 1 30
rtt_timeout 4 1 15
rtt_unclamped 7 2 39
rtt_update 9 2 63
rtt_lost 11 4 56
rtt_notimeout 4 1 16
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/rtt.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/regional.c
Function nameLOCCyclomatic complexityToken count
regional_create 4 1 12
regional_init 9 1 63
regional_create_custom 9 2 55
regional_free_all 16 3 79
regional_destroy 6 2 26
regional_alloc 25 5 176
regional_alloc_init 7 2 48
regional_alloc_zero 7 2 43
regional_strdup 4 1 33
count_chunks 10 2 43
count_large 10 2 43
regional_log_stats 9 1 68
regional_get_mem 5 1 29
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/mini_event.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/winsock_event.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/ub_event.c
Function nameLOCCyclomatic complexityToken count
void( * NATIVE_BITS_CB(void(*cb)(int,short,void*))) 25 11 113
ub_event_get_version 4 1 11
ub_ev_backend2str 12 7 52
ub_get_event_sys 28 11 179
ub_default_event_base 17 5 93
ub_libevent_event_base 6 2 23
ub_libevent_get_event_base 6 2 23
ub_event_base_free 6 3 30
ub_event_base_dispatch 4 1 18
ub_event_base_loopexit 4 1 20
ub_event_new 13 3 111
ub_signal_new 13 3 103
ub_winsock_register_wsaevent 17 4 115
ub_event_add_bits 4 1 24
ub_event_del_bits 4 1 24
ub_event_set_fd 4 1 21
ub_event_free 5 2 21
ub_event_add 4 1 25
ub_event_del 4 1 18
ub_timer_add 8 2 89
ub_timer_del 4 1 18
ub_signal_add 4 1 25
ub_signal_del 4 1 18
ub_winsock_unregister_wsaevent 6 2 30
ub_winsock_tcp_wouldblock 6 2 35
ub_comm_base_now 11 3 64
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/ub_event_pluggable.c
Function nameLOCCyclomatic complexityToken count
void( * NATIVE_BITS_CB(void(*cb)(int,short,void*))) 25 11 113
ub_event_get_version 4 1 10
my_event_add_bits 4 1 26
my_event_del_bits 4 1 26
my_event_set_fd 4 1 23
my_event_free 4 1 17
my_event_add 4 1 28
my_event_del 4 1 21
my_timer_add 9 2 100
my_timer_del 4 1 21
my_signal_add 4 1 28
my_signal_del 4 1 21
my_winsock_unregister_wsaevent 6 2 33
my_winsock_tcp_wouldblock 6 2 38
my_event_base_free 6 3 37
my_event_base_dispatch 4 1 20
my_event_base_loopexit 4 1 27
my_event_new 16 3 136
my_signal_new 16 3 128
my_winsock_register_wsaevent 21 4 140
ub_default_event_base 25 7 165
ub_libevent_event_base 13 3 75
ub_libevent_get_event_base 7 2 34
ub_ev_backend2str_pluggable 12 7 52
ub_get_event_sys 22 6 135
ub_event_base_free 8 4 51
ub_event_base_dispatch 9 3 54
ub_event_base_loopexit 9 3 56
ub_event_new 10 3 85
ub_signal_new 10 3 80
ub_winsock_register_wsaevent 11 3 81
ub_event_add_bits 8 3 54
ub_event_del_bits 8 3 54
ub_event_set_fd 8 3 54
ub_event_free 8 4 51
ub_event_add 9 3 61
ub_event_del 9 4 56
ub_timer_add 10 3 90
ub_timer_del 9 4 56
ub_signal_add 9 3 61
ub_signal_del 9 4 56
ub_winsock_unregister_wsaevent 9 4 51
ub_winsock_tcp_wouldblock 9 3 54
ub_comm_base_now 13 5 82
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/locks.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/rbtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/fptr_wlist.c
Function nameLOCCyclomatic complexityToken count
fptr_whitelist_comm_point 8 5 54
fptr_whitelist_comm_point_raw 8 5 54
fptr_whitelist_comm_timer 10 8 82
fptr_whitelist_comm_signal 5 2 29
fptr_whitelist_start_accept 5 2 27
fptr_whitelist_stop_accept 5 2 27
fptr_whitelist_event 15 13 141
fptr_whitelist_pending_udp 7 4 43
fptr_whitelist_pending_tcp 7 4 43
fptr_whitelist_serviced_query 6 3 32
fptr_whitelist_rbtree_cmp 27 24 274
fptr_whitelist_hash_sizefunc 13 12 108
fptr_whitelist_hash_compfunc 12 10 97
fptr_whitelist_hash_delkeyfunc 12 10 97
fptr_whitelist_hash_deldatafunc 12 11 97
fptr_whitelist_hash_markdelfunc 6 3 30
fptr_whitelist_modenv_send_query 9 3 77
fptr_whitelist_modenv_detach_subs 6 2 29
fptr_whitelist_modenv_attach_sub 7 2 48
fptr_whitelist_modenv_add_sub 8 2 53
fptr_whitelist_modenv_kill_sub 5 2 29
fptr_whitelist_modenv_detect_cycle 7 2 43
fptr_whitelist_mod_init 12 13 109
fptr_whitelist_mod_deinit 12 13 109
fptr_whitelist_mod_operate 13 13 118
fptr_whitelist_mod_inform_super 13 13 114
fptr_whitelist_mod_clear 13 13 109
fptr_whitelist_mod_get_mem 12 13 109
fptr_whitelist_alloc_cleanup 5 2 27
fptr_whitelist_tube_listen 6 3 32
fptr_whitelist_mesh_cb 8 5 53
fptr_whitelist_print_func 7 4 52
fptr_whitelist_inplace_cb_reply_generic 15 13 95
fptr_whitelist_inplace_cb_query 7 3 26
fptr_whitelist_inplace_cb_edns_back_parsed 8 3 26
fptr_whitelist_inplace_cb_query_response 8 3 26
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/libworker.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/unbound-event.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/context.c
Function nameLOCCyclomatic complexityToken count
context_finalize 37 11 285
context_query_cmp 8 3 56
context_query_delete 7 2 35
find_id 12 3 65
context_new 36 6 274
context_obtain_alloc 24 6 135
context_release_alloc 14 5 69
context_serialize_new_query 14 2 152
context_deserialize_new_query 29 5 267
context_lookup_new_query 16 3 105
context_serialize_answer 21 7 229
context_deserialize_answer 37 9 323
context_serialize_cancel 9 2 78
context_deserialize_cancel 11 2 84
context_serialize_quit 9 2 50
context_serial_getcmd 8 2 39
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/worker.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/libworker.c
Function nameLOCCyclomatic complexityToken count
libworker_delete_env 17 4 121
libworker_delete 7 2 33
libworker_delete_event 7 2 33
libworker_setup 129 40 1010
libworker_create_event 5 1 24
handle_cancel 16 3 98
libworker_do_cmd 19 5 92
libworker_handle_control_cmd 11 2 69
libworker_dobg 34 6 207
libworker_bg 33 7 190
parse_reply 16 4 114
fill_canon 7 1 44
fill_res 49 17 467
libworker_enter_result 24 8 165
libworker_fillup_fg 20 4 139
libworker_fg_done_cb 7 1 57
setup_qinfo_edns 22 3 161
libworker_fg 37 5 275
libworker_event_done_cb 23 4 178
libworker_attach_mesh 35 6 261
add_bg_result 36 8 263
libworker_bg_done_cb 23 6 176
handle_newq 42 6 333
libworker_alloc_cleanup 6 1 41
libworker_send_query 20 3 167
libworker_handle_reply 23 5 169
libworker_handle_service_reply 20 5 152
worker_handle_control_cmd 6 1 43
worker_handle_request 7 1 41
worker_handle_reply 7 1 41
worker_handle_service_reply 7 1 41
remote_accept_callback 7 1 41
remote_control_callback 7 1 41
worker_sighandler 4 1 22
worker_send_query 10 1 85
worker_alloc_cleanup 4 1 16
worker_stat_timer_cb 4 1 16
worker_probe_timer_cb 4 1 16
worker_start_accept 4 1 16
worker_stop_accept 4 1 16
order_lock_cmp 5 1 28
codeline_cmp 5 1 28
replay_var_compare 5 1 28
remote_get_opt_ssl 4 1 23
worker_win_stop_cb 4 1 28
wsvc_cron_cb 4 1 16
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/context.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/libunbound.c
Function nameLOCCyclomatic complexityToken count
ub_ctx_create_nopipe 63 9 404
ub_ctx_create 30 4 183
ub_ctx_create_ub_event 10 2 47
ub_ctx_create_event 14 3 67
delq 5 1 32
ub_stop_bg 37 7 235
ub_ctx_delete 42 10 268
ub_ctx_set_option 14 3 86
ub_ctx_get_option 11 4 87
ub_ctx_config 14 3 81
ub_ctx_add_ta 18 4 109
ub_ctx_add_ta_file 18 4 109
ub_ctx_add_ta_autr 19 4 109
ub_ctx_trustedkeys 18 4 109
ub_ctx_debuglevel 8 1 45
ub_ctx_debugout 9 1 53
ub_ctx_async 13 4 63
ub_poll 4 1 17
ub_fd 4 1 17
process_answer_detail 54 8 352
process_answer 12 2 78
ub_process 22 5 111
ub_wait 43 8 239
ub_resolve 37 5 251
ub_resolve_event 33 8 192
ub_resolve_async 55 10 338
ub_cancel 35 6 223
ub_resolve_free 16 5 103
ub_strerror 17 12 84
ub_ctx_set_fwd 65 12 404
ub_ctx_set_stub 69 16 404
ub_ctx_resolvconf 71 22 416
ub_ctx_hosts 88 33 544
ub_ctx_finalize 10 2 49
ub_ctx_print_local_zones 7 2 34
ub_ctx_zone_add 34 6 212
ub_ctx_zone_remove 20 4 126
ub_ctx_data_add 7 3 50
ub_ctx_data_remove 14 3 82
ub_version 4 1 9
ub_ctx_set_event 19 7 118
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/unbound.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/subnetmod.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/addrtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/addrtree.c
Function nameLOCCyclomatic complexityToken count
edge_create 23 4 187
node_create 17 2 108
node_size 5 2 50
addrtree_create 25 3 180
clean_node 7 2 55
lru_pop 18 4 114
lru_push 12 2 66
lru_update 6 2 38
purge_node 22 5 158
lru_cleanup 21 9 164
addrtree_size 4 2 19
addrtree_delete 18 3 123
getbit 6 1 57
cmpbit 5 1 59
bits_common 11 4 79
issub 5 1 39
addrtree_insert 92 17 599
addrtree_find 33 12 209
unittest_wrapper_addrtree_cmpbit 4 1 27
unittest_wrapper_addrtree_bits_common 4 1 37
unittest_wrapper_addrtree_getbit 4 1 25
unittest_wrapper_addrtree_issub 4 1 37
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/edns-subnet.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/subnetmod.c
Function nameLOCCyclomatic complexityToken count
subnet_data_delete 8 1 48
msg_cache_sizefunc 11 1 88
subnet_new_qstate 10 2 68
ecs_opt_list_append 31 7 234
ecs_whitelist_check 30 8 228
subnetmod_init 51 6 334
subnetmod_deinit 16 3 117
cp_edns_bad_response 8 1 55
delfunc 5 1 46
sizefunc 6 1 54
get_tree 19 4 113
update_cache 68 12 509
lookup_and_reply 46 8 357
common_prefix 5 3 56
eval_response 49 11 343
parse_subnet_option 27 12 214
subnet_option_from_ss 25 5 163
ecs_query_response 15 5 115
ecs_edns_back_parsed 17 6 105
subnetmod_operate 99 25 674
subnetmod_clear 4 1 18
subnetmod_inform_super 4 1 26
subnetmod_get_mem 8 2 53
subnetmod_get_funcblock 4 1 10
unittest_wrapper_subnetmod_sizefunc 4 1 14
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/subnet-whitelist.c
Function nameLOCCyclomatic complexityToken count
ecs_whitelist_create 14 3 63
ecs_whitelist_delete 7 2 28
upstream_insert 13 3 82
upstream_str_cfg 16 3 92
read_upstream 10 3 62
read_names 36 6 213
ecs_whitelist_apply_cfg 14 3 82
ecs_is_whitelisted 11 2 73
ecs_whitelist_get_mem 5 2 31
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/edns-subnet.c
Function nameLOCCyclomatic complexityToken count
copy_clear 17 7 125
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/subnet-whitelist.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/cachedump.c
Function nameLOCCyclomatic complexityToken count
dump_rrset_line 8 2 64
dump_rrset 19 8 156
dump_rrset_lruhash 14 3 99
dump_rrset_cache 16 4 141
dump_msg_ref 23 5 167
dump_msg 47 11 334
copy_msg 23 4 221
dump_msg_lruhash 19 4 132
dump_msg_cache 15 4 126
dump_cache 8 3 47
ssl_read_buf 5 1 32
read_fixed 5 2 49
load_rr 48 9 386
move_into_cache 53 6 466
load_rrset 74 18 557
load_rrset_cache 11 5 83
load_qinfo 33 6 232
load_ref 33 6 232
load_msg 54 11 413
load_msg_cache 11 5 83
load_cache 8 3 53
print_dp_details 69 27 517
print_dp_main 24 8 186
print_deleg_lookup 76 14 455
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/daemon.c
Function nameLOCCyclomatic complexityToken count
record_sigh 20 12 52
signal_handling_record 11 11 72
signal_handling_playback 12 6 55
daemon_init 56 21 353
daemon_open_shared_ports 61 20 419
daemon_setup_modules 12 2 83
daemon_get_shufport 22 5 135
daemon_create_workers 45 14 385
close_other_pipes 13 4 84
thread_start 18 5 120
daemon_start_others 11 3 75
daemon_stop_others 14 3 100
daemon_fork 53 22 420
daemon_cleanup 24 4 157
daemon_delete 43 19 270
daemon_apply_cfg 23 7 176
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/daemon.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/remote.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/worker.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/acl_list.c
Function nameLOCCyclomatic complexityToken count
acl_list_create 13 3 63
acl_list_delete 7 2 28
acl_list_insert 15 4 97
acl_list_str_cfg 34 9 209
acl_find_or_create 20 4 130
acl_list_tags_cfg 14 3 84
acl_list_view_cfg 14 3 91
acl_list_tag_action_cfg 33 7 219
check_data 38 8 245
acl_list_tag_data_cfg 42 9 270
read_acl_list 10 4 72
read_acl_tags 18 4 111
read_acl_view 17 4 109
read_acl_tag_actions 21 5 126
read_acl_tag_datas 20 5 126
acl_list_apply_cfg 30 12 205
acl_get_control 5 2 21
acl_addr_lookup 6 1 35
acl_list_get_mem 5 2 31
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/stats.c
Function nameLOCCyclomatic complexityToken count
stats_timeval_add 9 2 60
server_stats_init 5 1 35
server_stats_querymiss 7 2 71
server_stats_prefetch 7 2 71
server_stats_log 22 2 138
get_rrset_bogus 15 4 107
get_queries_ratelimit 15 4 107
get_dnscrypt_cache_miss 12 4 78
server_stats_compile 51 9 603
server_stats_obtain 22 5 157
server_stats_reply 9 2 69
server_stats_add 58 9 651
server_stats_insquery 38 16 264
server_stats_insrcode 9 5 71
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/worker.c
Function nameLOCCyclomatic complexityToken count
worker_mem_report 95 18 944
worker_send_cmd 7 2 60
worker_handle_reply 26 5 185
worker_handle_service_reply 26 5 195
worker_err_ratelimit 11 3 63
worker_check_request 47 11 311
worker_handle_control_cmd 39 8 205
check_delegation_secure 20 5 131
deleg_remove_nonsecure_additional 17 3 116
answer_norec_from_cache 72 18 531
apply_respip_action 24 9 163
answer_from_cache 119 36 862
reply_and_prefetch 9 2 70
chaos_replystr 40 7 346
chaos_replyonestr 5 1 41
chaos_trustanchor 37 6 305
answer_chaos 48 16 324
deny_refuse 31 6 208
deny_refuse_all 5 1 39
deny_refuse_non_local 5 1 39
worker_handle_request 393 84 2938
worker_sighandler 23 7 99
worker_restart_timer 9 2 55
worker_stat_timer_cb 14 3 92
worker_probe_timer_cb 9 2 65
worker_create 39 8 282
worker_init 143 33 998
worker_work 4 1 16
worker_delete 32 6 219
worker_send_query 20 3 162
worker_alloc_cleanup 6 1 41
worker_stats_clear 7 1 48
worker_start_accept 7 2 44
worker_stop_accept 7 2 44
libworker_send_query 11 1 85
libworker_handle_reply 7 1 41
libworker_handle_service_reply 7 1 41
libworker_handle_control_cmd 6 1 43
libworker_fg_done_cb 6 1 43
libworker_bg_done_cb 6 1 43
libworker_event_done_cb 6 1 43
context_query_cmp 5 1 28
order_lock_cmp 5 1 28
codeline_cmp 5 1 28
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/unbound.c
Function nameLOCCyclomatic complexityToken count
usage 36 8 204
replay_var_compare 5 1 28
checkrlimits 78 23 537
log_ident_set_fromdefault 8 3 44
apply_settings 16 4 96
readpid 31 8 183
writepid 14 3 83
checkoldpid 12 5 70
detach 23 10 147
perform_setup 122 80 1022
run_daemon 46 13 303
main 54 15 259
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/stats.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/remote.c
Function nameLOCCyclomatic complexityToken count
timeval_subtract 11 2 69
timeval_divide 13 2 88
get_dh2048 50 9 669
daemon_remote_create 77 16 436
daemon_remote_clear 19 4 102
daemon_remote_delete 9 3 41
add_open 66 21 454
daemon_remote_open_ports 26 9 161
accept_open 16 3 103
daemon_remote_open_accept 13 3 71
daemon_remote_stop_accept 7 2 39
daemon_remote_start_accept 7 2 45
remote_accept_callback 64 8 417
state_list_remove_elem 10 3 56
clean_point 11 2 65
ssl_print_text 17 4 88
ssl_print_vmsg 6 1 44
ssl_printf 9 1 47
ssl_read_line 26 6 143
skipwhite 6 2 26
send_ok 4 1 18
do_stop 6 1 35
do_reload 6 1 35
do_verbosity 10 3 57
print_stats 52 23 628
print_thread_stats 7 1 58
print_longnum 11 2 87
print_mem 36 19 279
print_uptime 16 5 173
print_hist 25 4 169
print_ext 128 66 1335
do_stats 29 10 212
parse_arg_name 23 3 142
find_arg2 22 6 140
perform_zone_add 36 6 224
do_zone_add 6 2 36
do_zones_add 16 6 102
perform_zone_remove 17 3 106
do_zone_remove 6 2 36
do_zones_remove 16 6 102
perform_data_add 8 2 44
do_data_add 6 2 36
do_datas_add 16 6 102
perform_data_remove 12 2 70
do_data_remove 6 2 36
do_datas_remove 16 6 102
do_view_zone_add 27 6 170
do_view_zone_remove 20 4 117
do_view_data_add 22 5 134
do_view_data_remove 20 4 117
do_lookup 10 2 69
do_cache_remove 21 3 159
do_flush_type 16 3 100
do_flush_stats 5 1 23
infra_del_host 17 3 137
do_flush_infra 29 3 193
do_flush_requestlist 5 1 27
zone_del_rrset 13 3 95
zone_del_msg 12 3 95
zone_del_kcache 12 3 93
do_flush_zone 29 3 217
bogus_del_rrset 9 2 62
bogus_del_msg 9 2 62
bogus_del_kcache 9 2 60
do_flush_bogus 20 2 159
negative_del_rrset 11 5 101
negative_del_msg 9 3 71
negative_del_kcache 9 2 60
do_flush_negative 20 2 159
do_flush_name 20 2 188
ssl_print_name_dp 30 10 231
print_root_fwds 9 2 74
parse_delegpt 54 9 296
do_forward 26 7 176
parse_fs_args 38 13 229
do_forward_add 25 6 162
do_forward_remove 14 4 103
do_stub_add 38 11 265
do_stub_remove 15 4 116
do_insecure_add 18 4 105
do_insecure_remove 13 3 81
do_insecure_list 13 4 86
do_status 29 13 241
get_mesh_age 15 4 108
get_mesh_status 49 10 449
do_dump_requestlist 32 7 239
dump_infra_host 41 8 364
do_dump_infra 9 1 71
do_log_reopen 6 1 44
do_set_option 18 6 147
remote_get_opt_ssl 5 1 34
do_get_option 9 2 56
do_list_forwards 21 8 162
do_list_stubs 22 8 189
do_list_local_zones 18 2 119
do_list_local_data 36 6 266
do_view_list_local_zones 13 3 78
do_view_list_local_data 13 3 80
rate_list 15 3 131
ip_rate_list 15 3 128
do_ratelimit_list 15 5 118
do_ip_ratelimit_list 15 5 118
distribute_cmd 15 5 112
cmdcmp 4 4 51
execute_cmd 147 63 1515
daemon_remote_exec 12 2 80
handle_req 33 8 236
remote_control_callback 64 12 375
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/acl_list.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/cachedump.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_resptype.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_utils.c
Function nameLOCCyclomatic complexityToken count
fetch_fill 11 3 83
read_fetch_policy 17 3 100
caps_white_apply_cfg 30 5 194
iter_apply_cfg 33 13 219
iter_filter_unsuitable 45 20 328
iter_fill_rtt 24 7 172
iter_filter_order 77 21 444
iter_server_selection 63 15 362
dns_alloc_msg 14 3 97
dns_copy_msg 14 4 108
iter_dns_store 8 2 63
iter_ns_probability 8 2 43
causes_cycle 15 1 101
iter_mark_cycle_targets 19 5 118
iter_mark_pside_cycle_targets 22 6 151
iter_dp_is_useless 21 11 136
iter_indicates_dnssec_fwd 16 8 108
iter_indicates_dnssec 33 15 234
iter_msg_has_dnssec 12 5 82
iter_msg_from_zone 37 17 289
rrset_equal 28 13 231
reply_equal 23 11 162
caps_strip_reply 23 7 160
caps_failed_rcode 5 2 31
iter_store_parentside_rrset 15 2 106
reply_get_NS_rrset 10 3 60
iter_store_parentside_NS 8 2 46
iter_store_parentside_neg 51 8 404
iter_lookup_parent_NS_from_cache 18 3 124
iter_lookup_parent_glue_from_cache 30 6 232
iter_get_next_root 17 6 105
iter_scrub_ds 21 6 200
iter_dec_attempts 13 4 80
iter_merge_retry_counts 27 6 170
iter_ds_toolow 38 15 297
iter_dp_cangodown 9 4 61
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_scrub.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_donotq.c
Function nameLOCCyclomatic complexityToken count
donotq_create 13 3 63
donotq_delete 7 2 28
donotq_insert 12 3 82
donotq_str_cfg 16 3 92
read_donotq 10 3 62
donotq_apply_cfg 17 6 95
donotq_lookup 5 1 32
donotq_get_mem 5 2 31
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_delegpt.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_fwd.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_utils.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_hints.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_hints.c
Function nameLOCCyclomatic complexityToken count
hints_create 8 2 38
hints_stub_free 6 2 28
delhintnode 5 1 32
hints_del_tree 4 1 22
hints_delete 7 2 26
ah 20 5 119
compile_time_root_prime 41 30 453
hints_insert 21 3 136
read_stubs_name 22 4 104
read_stubs_host 22 4 121
read_stubs_addr 19 4 115
read_stubs 19 6 138
read_root_hints 109 18 662
read_root_hints_list 17 8 125
hints_apply_cfg 20 6 124
hints_lookup_root 10 2 59
hints_lookup_stub 22 7 152
hints_next_root 4 1 24
hints_get_mem 11 2 66
hints_add_stub 14 3 111
hints_delete_stub 12 2 94
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_priv.c
Function nameLOCCyclomatic complexityToken count
priv_create 14 3 79
priv_delete 6 2 28
read_addrs 27 5 166
read_names 35 6 213
priv_apply_cfg 13 3 82
priv_lookup_addr 5 1 32
priv_lookup_name 13 2 92
priv_get_mem 5 2 31
remove_rr 17 6 149
priv_rrset_bad 61 13 416
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_fwd.c
Function nameLOCCyclomatic complexityToken count
fwd_cmp 13 3 93
forwards_create 8 2 38
fwd_zone_free 7 2 35
delfwdnode 5 1 32
fwd_del_tree 6 2 34
forwards_delete 7 2 26
forwards_insert_data 30 4 183
forwards_insert 5 1 39
fwd_init_parents 20 5 127
read_fwds_name 22 4 104
read_fwds_host 22 4 121
read_fwds_addr 19 4 115
read_forwards 20 6 140
fwd_add_stub_hole 10 1 81
make_stub_holes 21 5 119
forwards_apply_cfg 13 4 72
forwards_find 12 2 92
forwards_lookup 28 7 180
forwards_lookup_root 5 1 28
forwards_next_root 40 9 240
forwards_get_mem 12 2 77
fwd_zone_find 9 1 71
forwards_add_zone 12 3 86
forwards_delete_zone 9 2 64
forwards_add_stub_hole 8 2 41
forwards_delete_stub_hole 11 3 74
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_scrub.c
Function nameLOCCyclomatic complexityToken count
remove_rrset 25 9 208
has_additional 16 9 46
get_additional_name 36 11 191
mark_additional_rrset 28 8 203
parse_get_cname_target 21 4 157
synth_cname 15 3 113
synth_cname_rrset 48 7 421
pkt_strict_sub 8 1 58
pkt_sub 6 1 41
sub_of_pkt 6 1 41
scrub_normalize 158 52 955
store_rrset 21 3 151
soa_in_auth 9 4 50
sanitize_nsec_is_overreach 19 4 106
scrub_sanitize 73 29 474
scrub_message 27 12 210
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_resptype.c
Function nameLOCCyclomatic complexityToken count
response_type_from_cache 29 11 205
response_type_from_server 98 49 750
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iterator.c
Function nameLOCCyclomatic complexityToken count
iter_init 19 3 114
caps_free 7 2 41
iter_deinit 17 4 115
iter_new 39 3 257
next_state 11 3 47
final_state 4 1 19
error_supers 29 8 203
error_response 10 2 64
error_response_cache 34 6 269
prepend_is_duplicate 14 6 108
iter_prepend 44 12 391
iter_find_rrset_in_prepend_answer 14 4 81
iter_add_prepend_answer 15 3 92
iter_add_prepend_auth 15 3 92
handle_cname_response 34 14 281
can_have_last_resort 17 5 112
is_caps_whitelisted 7 2 61
target_count_create 8 3 51
target_count_increase 6 2 32
generate_sub_request 63 9 436
prime_root 37 6 254
prime_stub 53 9 373
generate_a_aaaa_check 36 11 303
generate_ns_check 38 10 304
generate_dnskey_prefetch 24 7 188
forward_request 20 6 153
processInitRequest 207 50 1433
processInitRequest2 28 7 174
processInitRequest3 26 9 207
generate_parentside_target_query 35 5 266
generate_target_query 10 2 83
query_for_targets 68 21 424
processLastResort 130 41 998
processDSNSFind 26 5 206
processQueryTargets 253 70 1823
find_NS 9 3 62
processQueryResponse 299 100 2355
prime_supers 29 5 198
processPrimeResponse 31 5 238
processTargetResponse 47 9 336
processDSNSResponse 18 4 117
processClassResponse 78 13 691
processCollectClass 32 6 213
processFinished 36 13 285
iter_inform_super 14 7 123
iter_handle 43 11 216
process_request 8 1 52
process_response 131 32 899
iter_operate 38 13 290
iter_clear 14 5 90
iter_get_mem 8 2 74
iter_get_funcblock 4 1 10
iter_state_to_string 26 10 73
iter_state_is_responsestate 14 6 39
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_delegpt.c
Function nameLOCCyclomatic complexityToken count
delegpt_create 9 2 54
delegpt_copy 28 7 223
delegpt_set_name 7 1 62
delegpt_add_ns 25 3 166
delegpt_find_ns 12 4 64
delegpt_find_addr 14 4 91
delegpt_add_target 18 6 128
delegpt_add_addr 30 5 187
delegpt_count_ns 11 3 69
delegpt_count_addr 17 4 113
delegpt_log 39 19 351
delegpt_add_unused_targets 10 2 50
delegpt_count_targets 8 2 41
delegpt_count_missing_targets 9 3 48
find_NS 9 3 62
delegpt_from_message 34 13 272
delegpt_rrset_add_ns 19 6 160
delegpt_add_rrset_A 22 4 191
delegpt_add_rrset_AAAA 22 4 191
delegpt_add_rrset 14 5 115
delegpt_add_neg_msg 17 9 133
delegpt_no_ipv6 8 3 44
delegpt_no_ipv4 8 3 44
delegpt_create_mlc 16 4 96
delegpt_free_mlc 22 4 112
delegpt_set_name_mlc 7 1 56
delegpt_add_ns_mlc 27 4 172
delegpt_add_addr_mlc 28 5 179
delegpt_add_target_mlc 18 6 120
delegpt_get_mem 11 3 79
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iterator.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_priv.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_donotq.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dnscrypt/dnscrypt.c
Function nameLOCCyclomatic complexityToken count
dnsc_shared_secrets_cache_key 10 1 60
dnsc_shared_secret_cache_insert 24 3 146
dnsc_shared_secrets_lookup 6 1 30
dnscrypt_server_uncurve 81 13 423
dnscrypt_pad 21 3 144
dnscrypt_hrtime 13 2 73
add_server_nonce 13 2 105
dnscrypt_server_curve 54 7 285
dnsc_read_from_file 14 3 75
dnsc_chroot_path 9 4 64
dnsc_parse_certs 24 4 165
dnsc_key_to_fingerprint 18 3 106
dnsc_find_cert 17 4 106
dnsc_load_local_data 39 8 315
key_get_es_version 19 4 124
dnsc_parse_keys 67 9 445
dnsc_handle_curved_request 24 4 127
dnsc_handle_uncurved_request 21 4 107
dnsc_create 13 2 76
dnsc_apply_cfg 28 5 132
dnsc_delete 13 2 66
dnsc_shared_secrets_sizefunc 9 1 61
dnsc_shared_secrets_compfunc 4 1 22
dnsc_shared_secrets_delkeyfunc 6 1 42
dnsc_shared_secrets_deldatafunc 5 1 30
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dnscrypt/dnscrypt.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dnscrypt/cert.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/rrset.c
Function nameLOCCyclomatic complexityToken count
rrset_markdel 5 1 26
rrset_cache_create 12 3 88
rrset_cache_delete 6 2 24
rrset_cache_adjust 11 5 68
rrset_cache_touch 12 3 99
need_to_update_rrset 30 16 210
rrset_update_id 10 2 74
rrset_cache_update 36 10 295
rrset_cache_lookup 25 3 192
rrset_array_lock 16 6 131
rrset_array_unlock 9 4 69
rrset_array_unlock_touch 25 11 220
rrset_update_sec_status 32 10 248
rrset_check_sec_status 32 9 248
rrset_cache_remove 13 1 115
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/dns.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/infra.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/dns.c
Function nameLOCCyclomatic complexityToken count
store_rrsets 31 10 266
dns_cache_store_msg 25 4 206
find_closest_of_type 20 4 117
addr_to_additional 9 2 64
msg_cache_lookup 20 3 147
find_add_addrs 47 10 344
cache_fill_missing 47 8 346
find_add_ds 24 6 184
dns_msg_create 29 6 214
dns_msg_authadd 9 2 63
dns_msg_ansadd 9 2 63
dns_cache_find_delegation 36 10 278
gen_dns_msg 23 6 178
tomsg 49 14 421
rrset_msg 26 4 200
synth_dname_msg 81 11 695
fill_any 42 10 282
dns_cache_lookup 100 27 764
dns_cache_store 41 7 307
dns_cache_prefetch_adjust 17 3 117
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/rrset.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/infra.c
Function nameLOCCyclomatic complexityToken count
infra_sizefunc 6 1 54
infra_compfunc 14 4 110
infra_delkeyfunc 9 2 56
infra_deldatafunc 5 1 32
rate_sizefunc 6 1 54
rate_compfunc 11 3 77
rate_delkeyfunc 9 2 56
rate_deldatafunc 5 1 32
domain_limit_findcreate 40 5 238
infra_ratelimit_cfg_insert 19 5 123
infra_create 41 6 264
domain_limit_free 7 2 42
infra_delete 10 2 54
infra_adjust 15 4 96
hash_addr 21 4 177
hash_infra 4 1 31
infra_lookup_nottl 13 1 116
data_entry_init 17 1 109
new_entry 28 4 214
infra_host 55 11 497
infra_set_lame 31 13 244
infra_update_tcp_works 14 3 95
infra_rtt_update 47 15 351
infra_get_host_rto 24 4 209
infra_edns_update 26 8 210
infra_get_lame_rtt 71 18 457
infra_find_ratelimit 19 7 139
ip_rate_sizefunc 6 1 50
ip_rate_compfunc 7 1 58
ip_rate_delkeyfunc 8 2 49
infra_find_ratedata 11 1 81
infra_find_ip_ratedata 12 1 92
infra_create_ratedata 26 4 201
infra_ip_create_ratedata 22 3 186
infra_rate_find_second 17 5 133
infra_rate_max 12 4 83
infra_ratelimit_inc 27 6 186
infra_ratelimit_dec 14 4 89
infra_ratelimit_exceeded 17 4 103
infra_get_mem 7 3 58
infra_ip_ratelimit_inc 27 5 174
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/outbound_list.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/localzone.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/outside_network.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/modstack.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/mesh.c
Function nameLOCCyclomatic complexityToken count
timeval_subtract 10 2 69
timeval_add 9 2 52
timeval_divide 13 2 87
timeval_smaller 11 4 63
client_info_compare 30 19 230
mesh_state_compare 30 20 292
mesh_state_ref_compare 6 1 50
mesh_create 31 4 233
mesh_delete_helper 5 1 30
mesh_delete 10 3 52
mesh_delete_all 16 2 104
mesh_make_new_space 29 9 208
mesh_new_client 104 28 697
mesh_new_callback 55 19 362
mesh_new_prefetch 45 10 312
mesh_report_reply 12 3 73
mesh_state_create 68 7 518
mesh_state_is_unique 4 1 16
mesh_state_make_unique 4 1 15
mesh_state_cleanup 29 6 234
mesh_state_delete 36 9 252
find_in_subsub 11 4 76
mesh_detect_cycle_found 13 5 69
mesh_detach_subs 21 6 154
mesh_add_sub 33 7 214
mesh_attach_sub 18 7 141
mesh_state_attachment 25 6 158
mesh_do_callback 52 14 474
mesh_send_reply 97 32 1009
mesh_query_done 28 7 204
mesh_walk_supers 12 1 116
mesh_area_find 16 1 114
mesh_state_add_cb 25 4 160
mesh_state_add_reply 63 12 539
mesh_continue 56 14 385
mesh_run 29 5 245
mesh_log_list 19 9 175
mesh_stats 23 2 141
mesh_stats_clear 15 2 95
mesh_get_mem 11 1 82
mesh_detect_cycle 9 2 76
mesh_list_insert 10 2 57
mesh_list_remove 10 3 67
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/authzone.c
Function nameLOCCyclomatic complexityToken count
msg_create 23 4 182
msg_grow_array 18 4 147
get_rrset_ttl 6 1 30
auth_packed_rrset_copy_region 14 1 134
msg_ttl 13 4 134
msg_rrset_duplicate 13 6 109
msg_add_rrset_an 20 5 154
msg_add_rrset_ns 19 5 143
msg_add_rrset_ar 18 5 132
auth_zones_create 12 2 84
auth_zone_cmp 12 3 93
auth_data_cmp 8 1 64
auth_rrset_delete 6 2 28
auth_data_delete 13 3 63
auth_data_del 5 1 34
auth_zone_delete 9 2 55
auth_zone_create 28 4 200
auth_zone_find 11 1 76
auth_zone_find_less_equal 11 1 82
auth_zones_find_zone 18 5 129
auth_zones_find_or_add_zone 17 3 107
auth_zone_set_zonefile 14 4 72
auth_zone_set_fallback 10 3 63
az_domain_create 21 4 148
az_find_name 9 1 67
az_find_domain 11 1 83
az_domain_find_or_create 9 2 51
az_domain_rrset 12 4 57
domain_remove_rrset 17 5 91
rdata_duplicate 11 4 77
rrsig_rdata_get_type_covered 6 2 28
rrset_add_rr 57 10 528
rrset_create 42 6 325
rrsig_num_that_cover 15 4 110
rrset_moveover_rrsigs 102 18 890
az_domain_add_rr 42 15 295
az_insert_rr 25 4 171
az_parse_file 64 13 373
auth_zone_read_zonefile 33 9 247
write_out 15 4 86
auth_zone_write_rrset 23 4 195
auth_zone_write_domain 19 8 126
auth_zone_write_file 19 3 106
auth_zones_read_zones 16 2 93
auth_zones_cfg_zonefile 19 4 112
auth_zones_cfg_fallback 19 4 112
auth_zones_apply_config 11 4 59
auth_zone_del 5 1 34
auth_zones_delete 7 2 41
domain_has_only_nsec3 14 4 66
az_find_wildcard_domain 10 2 76
az_find_wildcard 19 7 119
az_find_candidate_ce 20 4 113
az_domain_go_up 11 3 71
az_find_ce 36 11 213
az_add_additionals_from 29 10 228
az_add_negative_soa 22 6 238
az_empty_nonterminal 19 8 136
synth_cname_buf 11 2 77
create_synth_cname 56 9 520
add_synth_cname 21 4 137
az_change_dnames 15 5 133
az_find_nsec_cover 13 4 103
az_nsec_wildcard_denial 23 4 171
az_nsec3_param 32 10 255
az_nsec3_hash 22 5 192
az_nsec3_hashname 24 5 193
az_nsec3_findnode 18 5 120
az_nsec3_find_cover 21 7 163
az_nsec3_find_exact 14 3 102
az_nsec3_get_nextcloser 12 2 87
az_nsec3_find_ce 14 3 97
az_nsec3_insert 10 4 76
az_add_nsec3_proof 41 9 299
az_generate_positive_answer 16 8 140
az_generate_any_answer 27 12 226
follow_cname_chain 29 11 240
az_generate_cname_answer 10 4 87
az_generate_notype_answer 15 6 129
az_generate_referral_answer 23 8 208
az_generate_dname_answer 19 7 176
az_generate_wildcard_answer 45 15 414
az_generate_nxdomain_answer 18 8 168
az_generate_answer_with_node 16 4 134
az_generate_answer_nonexistnode 21 9 178
auth_zone_generate_answer 41 9 367
auth_zones_lookup 20 2 138
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/view.c
Function nameLOCCyclomatic complexityToken count
view_cmp 6 1 50
views_create 11 2 77
view_delete 10 2 50
delviewnode 5 1 32
views_delete 8 2 41
view_create 14 3 104
views_enter_view_name 19 3 114
views_apply_cfg 67 14 382
views_find_view 19 3 127
views_print 4 1 14
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/outbound_list.c
Function nameLOCCyclomatic complexityToken count
outbound_list_init 4 1 15
outbound_list_clear 11 2 53
outbound_list_insert 8 2 48
outbound_list_remove 11 4 71
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/localzone.c
Function nameLOCCyclomatic complexityToken count
local_zones_create 11 2 77
lzdel 5 1 34
local_zones_delete 8 2 41
local_zone_delete 10 2 50
local_zone_cmp 12 3 93
local_data_cmp 8 1 64
parse_dname 11 2 68
local_zone_create 23 3 166
lz_enter_zone_dname 27 3 185
lz_enter_zone 23 4 141
rrstr_get_rr_content 25 3 191
get_rr_nameclass 22 3 146
local_data_find_type 12 5 83
rr_is_duplicate 10 4 69
new_local_rrset 34 4 234
rrset_insert_rr 36 7 318
lz_find_node 9 1 69
lz_find_create_node 31 7 205
lz_enter_rr_into_zone 67 17 431
lz_enter_rr_str 26 3 164
lz_enter_zone_tag 29 4 193
lz_enter_override 68 10 405
lz_enter_zones 12 3 78
lz_exists 19 3 129
lz_nodefault 14 8 122
add_empty_default 23 6 156
local_zone_enter_defaults 81 30 441
lz_enter_overrides 10 3 65
init_parents 27 6 181
lz_setup_implicit 72 11 400
lz_enter_zone_tags 13 4 86
lz_enter_data 9 3 55
lz_freeup_cfg 9 1 48
local_zones_apply_cfg 24 7 117
local_zones_lookup 6 1 47
local_zones_tags_lookup 33 10 223
local_zones_find 11 1 76
local_zone_out 12 2 85
local_zones_print 62 12 351
local_encode 30 4 251
local_error_encode 14 2 112
local_data_find_tag_datas 72 14 662
find_tag_datas 17 6 120
local_data_answer 63 16 503
lz_zone_answer 39 16 274
lz_inform_print 12 1 126
lz_type 20 7 148
local_data_find_tag_action 30 11 245
local_zones_answer 59 16 461
local_zone_type2str 19 14 95
local_zone_str2type 29 13 224
set_kiddo_parents 15 5 126
local_zones_add_zone 21 3 145
local_zones_del_zone 8 1 59
local_zones_add_RR 30 4 180
is_terminal 9 3 68
del_empty_term 12 5 88
del_local_rrset 12 5 83
local_zones_del_data 34 6 251
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/view.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/authzone.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/outside_network.c
Function nameLOCCyclomatic complexityToken count
pending_cmp 11 3 98
serviced_cmp 26 9 247
waiting_tcp_delete 7 3 34
pick_outgoing_tcp 37 9 302
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/mesh.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/modstack.c
Function nameLOCCyclomatic complexityToken count
count_modules 16 9 90
modstack_init 5 1 21
modstack_config 30 6 175
module_list_avail 14 5 37
module_funcs_avail 14 5 51
module_factory 18 5 122
modstack_setup 22 5 150
modstack_desetup 11 2 85
modstack_find 9 3 59
mod_get_mem 10 2 82
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/listen_dnsport.c
Function nameLOCCyclomatic complexityToken count
verbose_print_addr 22 9 178
systemd_get_activated 48 11 259
create_udp_sock 292 88 1738
create_tcp_accept_sock 143 59 943
create_local_accept_sock 50 12 310
make_sock 41 18 325
make_sock_port 28 4 259
port_insert 12 2 70
set_recvpktinfo 39 12 230
ports_create_if 74 28 507
listen_cp_insert 11 2 64
listen_create 68 20 417
listen_list_delete 10 2 47
listen_delete 12 5 58
listening_ports_open 85 20 544
listening_ports_free 13 3 60
listen_get_mem 16 4 115
listen_stop_accept 10 4 59
listen_start_accept 10 4 65
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/listen_dnsport.h
Source file: /home/sergeyb/sources/src/usr.sbin/user/usermgmt.h
Source file: /home/sergeyb/sources/src/usr.sbin/user/user.c
Function nameLOCCyclomatic complexityToken count
memsave 8 2 70
asystem 16 3 90
removehomedir 29 6 159
checkeuid 6 2 23
copydotfiles 27 9 164
creategid 70 16 461
modify_gid 94 21 583
append_group 115 29 784
valid_login 16 10 105
valid_group 13 7 78
valid_class 7 2 35
getnextgid 9 3 54
save_range 30 9 203
setdefaults 43 20 377
read_defaults 92 32 943
getnextuid 15 6 94
scantime 19 5 139
expand_len 10 3 57
find_user_info 12 3 68
find_group_info 12 3 68
adduser 240 57 1592
rm_user_from_groups 93 26 612
is_local 28 10 185
moduser 320 76 2086
usermgmt_usage 54 11 282
useradd 119 33 734
usermod 126 41 815
userdel 69 20 421
groupadd 50 14 272
groupdel 30 7 157
groupmod 80 26 525
userinfo 57 16 375
groupinfo 43 10 230
Source file: /home/sergeyb/sources/src/usr.sbin/user/main.c
Function nameLOCCyclomatic complexityToken count
main 21 9 149
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/options.c
Function nameLOCCyclomatic complexityToken count
parse_options 21 6 172
parse_option_buffer 65 10 415
create_priority_list 36 10 260
cons_options 59 19 411
store_option_fragment 15 4 93
store_options 86 30 551
do_packet 27 6 193
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/conflex.c
Function nameLOCCyclomatic complexityToken count
new_parse 10 1 46
get_char 26 6 121
get_token 33 11 175
next_token 18 4 75
peek_token 20 4 85
skip_to_eol 11 4 42
read_string 21 11 133
read_num_or_name 34 13 214
kw_cmp 4 1 34
intern 9 2 65
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/bootp.c
Function nameLOCCyclomatic complexityToken count
bootp 190 54 1554
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/sync.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/db.c
Function nameLOCCyclomatic complexityToken count
write_lease 72 30 504
commit_leases 17 6 87
db_startup 12 3 68
new_lease_file 11 1 54
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dispatch.c
Function nameLOCCyclomatic complexityToken count
discover_interfaces 148 41 970
dispatch 73 27 475
got_one 34 6 218
interface_status 44 9 261
locate_network 19 4 103
add_timeout 44 12 254
cancel_timeout 19 6 103
add_protocol 13 2 80
remove_protocol 14 4 74
get_rdomain 13 3 103
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/alloc.c
Function nameLOCCyclomatic complexityToken count
new_tree_cache 13 3 69
free_tree_cache 5 1 24
new_lease_state 13 3 62
free_lease_state 6 1 30
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/confpars.c
Function nameLOCCyclomatic complexityToken count
readconf 31 4 162
read_leases 30 6 140
parse_statement 205 56 971
parse_allow_deny 25 5 102
parse_boolean 17 5 92
parse_lbrace 12 2 49
parse_host_declaration 52 10 338
parse_class_declaration 37 7 210
parse_shared_net_declaration 64 11 361
parse_subnet_declaration 76 14 474
parse_group_declaration 25 5 135
parse_cidr 30 7 175
parse_ip_addr_or_hostname 41 11 230
parse_fixed_addr_param 20 5 107
parse_option_param 214 55 1168
parse_lease_declaration 148 33 721
parse_address_range 31 6 220
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/print.c
Function nameLOCCyclomatic complexityToken count
print_hw_addr 22 6 145
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/pfutils.c
Function nameLOCCyclomatic complexityToken count
pftable_handler 54 19 416
pf_change_table 22 6 162
pf_kill_state 24 3 255
atomicio 21 6 116
pfmsg 19 6 94
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/tree.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/packet.c
Function nameLOCCyclomatic complexityToken count
checksum 15 5 103
wrapsum 5 1 21
assemble_hw_header 13 3 119
assemble_udp_ip_header 31 1 311
decode_hw_header 11 2 92
decode_udp_ip_header 83 23 578
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/tree.c
Function nameLOCCyclomatic complexityToken count
cons 10 2 49
tree_cache 12 2 60
tree_const 14 3 95
tree_concat 32 7 247
tree_limit 18 4 109
tree_evaluate 27 4 153
tree_evaluate_recurse 31 5 187
do_data_copy 10 3 68
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/bpf.c
Function nameLOCCyclomatic complexityToken count
if_register_bpf 10 3 69
if_register_send 4 1 17
if_register_receive 37 12 302
send_packet 20 2 172
receive_packet 64 10 403
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/udpsock.c
Function nameLOCCyclomatic complexityToken count
udpsock_startup 25 5 206
udpsock_handler 81 12 609
udpsock_send_packet 7 1 60
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/parse.c
Function nameLOCCyclomatic complexityToken count
skip_to_semi 26 9 142
parse_semi 12 2 53
parse_string 19 4 96
parse_host_name 38 8 248
parse_hardware_param 40 7 228
parse_lease_time 16 2 83
parse_numeric_aggregate 65 19 393
convert_num 94 26 486
parse_date 50 14 270
parse_warn 26 4 175
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dhcpd.c
Function nameLOCCyclomatic complexityToken count
main 153 50 852
usage 11 1 53
lease_pinged 29 6 154
lease_ping_timeout 10 2 43
periodic_scan 24 11 207
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dhcpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dhcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/icmp.c
Function nameLOCCyclomatic complexityToken count
icmp_startup 18 5 135
icmp_echorequest 26 4 194
icmp_echoreply 30 5 227
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dhcp.c
Function nameLOCCyclomatic complexityToken count
dhcp 29 10 114
dhcpdiscover 67 20 472
dhcprequest 82 34 583
dhcprelease 70 15 488
dhcpdecline 23 6 153
dhcpinform 40 8 295
nak_lease 96 8 857
ack_lease 422 116 3767
dhcp_reply 121 32 1009
find_lease 211 89 1267
mockup_lease 24 3 169
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/memory.c
Function nameLOCCyclomatic complexityToken count
enter_host 45 12 286
find_hosts_by_haddr 5 1 30
find_hosts_by_uid 4 1 27
find_host_for_network 23 6 144
new_address_range 104 21 897
find_subnet 9 3 53
find_grouped_subnet 9 3 60
subnet_inner_than 24 9 213
enter_subnet 17 4 87
enter_shared_network 5 1 19
enter_lease 18 3 108
hwaddrcmp 5 3 52
uidcmp 5 2 40
uid_or_hwaddr_cmp 6 3 46
supersede_lease 116 35 792
release_lease 12 2 63
abandon_lease 18 1 116
find_lease_by_ip_addr 5 1 27
find_lease_by_uid 4 1 27
find_lease_by_hw_addr 4 1 27
uid_hash_add 13 3 81
uid_hash_delete 24 6 149
hw_hash_add 14 3 89
hw_hash_delete 27 6 161
add_class 25 8 160
find_class 5 2 34
clone_group 9 2 52
write_leases 18 9 106
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/sync.c
Function nameLOCCyclomatic complexityToken count
sync_addhost 41 9 291
sync_init 99 22 704
sync_recv 97 21 709
sync_send 27 7 179
sync_lease 58 2 543
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/hash.c
Function nameLOCCyclomatic complexityToken count
new_hash 10 2 46
do_hash 12 3 73
add_hash 21 4 133
delete_hash_entry 23 9 171
hash_lookup 14 6 115
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/inet.c
Function nameLOCCyclomatic complexityToken count
subnet_number 12 3 89
ip_addr 28 6 211
host_addr 12 2 106
addr_eq 6 2 47
piaddr 13 3 83
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/convert.c
Function nameLOCCyclomatic complexityToken count
getULong 6 1 33
getUShort 6 1 33
putULong 5 1 33
putLong 5 1 33
putUShort 5 1 34
putShort 5 1 33
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dhctoken.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/tables.c
Function nameLOCCyclomatic complexityToken count
initialize_universes 18 3 126
Source file: /home/sergeyb/sources/src/usr.sbin/radiusctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 23 6 142
match_token 112 33 577
show_valid_args 38 12 166
Source file: /home/sergeyb/sources/src/usr.sbin/radiusctl/radiusctl.c
Function nameLOCCyclomatic complexityToken count
usage 5 1 20
main 25 6 131
radius_test 135 21 959
radius_dump 109 27 944
radius_code_str 23 3 131
hexstr 16 4 136
Source file: /home/sergeyb/sources/src/usr.sbin/radiusctl/chap_ms.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusctl/chap_ms.c
Function nameLOCCyclomatic complexityToken count
get7bits 8 1 63
mschap_des_addparity 12 1 117
mschap_des_encrypt 9 1 58
mschap_challenge_response 10 1 83
mschap_ntpassword_hash 8 1 52
mschap_challenge_hash 18 2 125
mschap_nt_response 11 1 73
mschap_auth_response 47 2 458
mschap_masterkey 18 1 151
mschap_asymetric_startkey 41 4 482
mschap_msk 17 1 146
mschap_radiuskey 23 3 219
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irr_parser.c
Function nameLOCCyclomatic complexityToken count
parse_response 41 12 239
grow_parsebuf 12 3 65
irr_getln 68 25 340
parse_policy 137 56 782
policy_additem 16 6 133
parse_asset 12 4 72
parse_route 9 6 88
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irrfilter.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/mrtparser.c
Function nameLOCCyclomatic complexityToken count
mrt_read_msg 14 4 122
mrt_read_buf 17 5 93
mrt_parse 132 59 628
mrt_parse_v2_peer 85 15 621
mrt_parse_v2_rib 90 16 646
mrt_parse_dump 92 18 696
mrt_parse_dump_mp 155 33 1086
mrt_extract_attr 126 30 796
mrt_free_peers 6 1 28
mrt_free_rib 12 4 108
mrt_free_bgp_state 4 1 14
mrt_free_bgp_msg 5 1 21
mrt_aspath_inflate 30 6 208
mrt_extract_addr 30 7 248
mrt_parse_state 84 10 562
mrt_parse_msg 83 12 544
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irr_asset.c
Function nameLOCCyclomatic complexityToken count
asset_expand 14 3 102
asset_get 41 12 276
asset_membertype 16 8 129
asset_resolve 19 5 144
asset_merge 23 12 205
asset_addmember 17 4 142
asset_add_as 13 3 96
asset_add_asset 13 3 96
as_set_compare 4 1 28
as_set_find 6 1 32
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irr_prefix.c
Function nameLOCCyclomatic complexityToken count
prefixset_get 27 11 216
prefixset_addmember 49 10 373
prefixset_aggregate 41 12 284
prefix_aggregate 40 13 353
irr_prefix_cmp 29 10 272
prefix_set_compare 4 1 28
prefix_set_find 6 1 32
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/mrtparser.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irr_output.c
Function nameLOCCyclomatic complexityToken count
write_filters 37 11 284
process_policies 15 2 92
policy_prettyprint 14 5 102
policy_torule 20 6 172
action_torule 34 10 241
print_rule 44 10 343
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 33 7 227
match_token 226 97 1330
show_valid_args 73 30 300
parse_addr 24 4 169
parse_prefix 43 12 302
parse_asnum 25 9 198
parse_number 51 12 279
getcommunity 11 3 67
parse_community 61 16 362
parsesubtype 17 5 102
parseextvalue 45 8 272
parseextcommunity 98 25 615
getlargecommunity 11 3 67
parse_largecommunity 31 8 271
parse_nexthop 20 6 151
bgpctl_getopt 28 6 170
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/bgpctl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 370 127 2450
fmt_peer 21 11 161
show_summary_head 5 1 25
show_summary_msg 46 8 316
show_summary_terse_msg 20 4 121
show_neighbor_terse 26 3 154
print_auth_method 18 7 52
show_neighbor_msg 138 42 976
print_neighbor_capa_mp 10 4 67
print_neighbor_capa_restart 19 8 148
print_neighbor_msgstats 30 1 260
print_timer 8 2 43
fmt_timeframe 7 2 32
fmt_timeframe_core 27 4 168
show_fib_head 9 1 28
show_fib_tables_head 4 1 17
show_network_head 5 1 16
show_fib_flags 34 12 161
show_fib_msg 38 11 245
show_nexthop_head 6 1 26
show_nexthop_msg 68 17 450
show_interface_head 5 1 19
ift2ifm 15 5 52
get_media_descr 8 3 48
get_linkstate 11 3 77
get_baudrate 17 4 132
show_interface_msg 25 8 168
show_rib_summary_head 8 1 34
print_prefix 9 2 65
print_origin 13 8 63
print_flags 32 12 164
show_rib_summary_msg 18 3 86
show_rib_detail_msg 26 5 143
show_rib_brief 13 3 118
show_rib_detail 30 4 264
show_attr 85 19 520
show_community 41 11 197
show_large_community 18 4 139
show_ext_community 61 13 416
fmt_mem 7 2 49
show_rib_memory_msg 49 4 369
send_filterset 10 2 70
get_errstr 30 15 158
show_result 17 4 103
network_bulk 49 8 344
show_mrt_dump 54 16 449
network_mrt_dump 69 21 619
show_mrt_state 9 1 85
show_mrt_msg 8 1 75
mrt_to_bgpd_addr 17 4 116
msg_type 6 2 35
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/whois.c
Function nameLOCCyclomatic complexityToken count
whois 64 16 433
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irrfilter.c
Function nameLOCCyclomatic complexityToken count
irr_main 20 5 138
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/yp.c
Function nameLOCCyclomatic complexityToken count
yp_disable_events 9 2 58
yp_enable_events 16 4 113
yp_fd_event 6 1 27
yp_init 22 6 160
yp_dispatch 122 30 663
yp_check 6 1 28
yp_valid_domain 12 3 64
ypproc_domain_2_svc 8 2 51
ypproc_domain_nonack_2_svc 8 2 47
ypproc_match_2_svc 106 23 794
ypproc_first_2_svc 20 7 164
ypproc_next_2_svc 60 9 494
ypproc_all_2_svc 8 2 58
ypproc_master_2_svc 14 3 110
ypproc_maplist_2_svc 30 4 221
yp_make_val 14 3 112
yp_make_keyval 21 2 179
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ber.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/aldap.c
Function nameLOCCyclomatic complexityToken count
aldap_application 4 1 12
aldap_close 10 3 63
aldap_init 11 2 70
aldap_tls 22 5 147
aldap_send 29 7 169
aldap_req_starttls 21 5 131
aldap_bind 26 7 168
aldap_unbind 21 5 122
aldap_search 46 11 316
aldap_create_page_control 31 7 191
aldap_parse 91 33 634
aldap_parse_page_control 32 5 226
aldap_freepage 5 1 21
aldap_freemsg 6 2 27
aldap_get_resultcode 4 1 18
aldap_get_dn 9 3 48
aldap_get_references 6 2 28
aldap_free_references 9 3 48
aldap_get_diagmsg 9 3 56
aldap_count_attrs 12 4 75
aldap_first_attr 21 4 156
aldap_next_attr 25 5 189
aldap_match_attr 29 8 188
aldap_free_attr 10 3 55
aldap_free_url 5 1 23
aldap_parse_url 80 26 528
aldap_search_url 17 4 124
aldap_get_stringset 23 9 164
ldap_parse_search_filter 19 5 104
ldap_do_parse_search_filter 143 41 736
ldap_debug_elements 195 57 912
utoa 14 7 135
isu8cont 4 1 21
parseval 19 4 130
aldap_get_errno 24 6 93
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/log.c
Function nameLOCCyclomatic complexityToken count
log_init 8 2 36
log_verbose 4 1 11
logit 7 1 38
vlog 15 3 90
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
fatal 14 3 67
fatalx 5 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ber.c
Function nameLOCCyclomatic complexityToken count
ber_get_element 9 2 53
ber_set_header 7 2 42
ber_link_elements 11 5 57
ber_unlink_elements 14 4 70
ber_replace_elements 9 1 55
ber_add_sequence 8 2 40
ber_add_set 8 2 40
ber_add_enumerated 22 9 150
ber_add_integer 22 9 150
ber_get_integer 7 2 36
ber_get_enumerated 7 2 36
ber_add_boolean 10 3 59
ber_get_boolean 7 2 40
ber_add_string 4 1 27
ber_add_nstring 17 3 104
ber_get_string 7 2 35
ber_get_nstring 8 2 46
ber_add_bitstring 17 3 104
ber_get_bitstring 8 2 46
ber_add_null 8 2 40
ber_get_null 6 2 24
ber_add_eoc 8 2 40
ber_get_eoc 6 2 24
ber_oid2ber 22 10 187
ber_string2oid 16 6 151
ber_add_oid 22 5 140
ber_add_noid 9 2 69
ber_add_oidstring 7 2 47
ber_get_oid 22 6 182
ber_printf_elements 101 32 583
ber_scanf_elements 115 34 626
ber_write_elements 21 7 155
ber_read_elements 15 5 83
ber_free_elements 13 9 87
ber_calc_len 20 11 151
ber_dump_element 35 15 192
ber_dump_header 35 12 266
ber_putc 6 2 36
ber_write 6 2 45
get_id 26 6 173
get_len 32 8 174
ber_read_element 97 34 605
ber_readbuf 16 3 93
ber_set_readbuf 5 1 38
ber_get_writebuf 7 2 43
ber_set_application 4 1 27
ber_free 4 1 16
ber_getc 9 2 53
ber_read 21 7 132
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ypldap.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ldapclient.c
Function nameLOCCyclomatic complexityToken count
client_aldap_open 22 5 170
client_addr_init 32 7 180
client_addr_free 10 2 59
client_sig_handler 11 3 39
client_dispatch_dns 85 25 533
client_dispatch_parent 75 20 445
client_shutdown 5 1 16
ldapclient 67 13 558
client_build_req 61 20 500
client_search_idm 52 14 330
client_try_idm 87 19 572
client_periodic_update 18 3 104
client_configure 17 1 137
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ypldap_dns.c
Function nameLOCCyclomatic complexityToken count
dns_sig_handler 11 3 39
dns_shutdown 5 1 16
ypldap_dns 45 8 338
dns_dispatch_imsg 72 22 451
host_dns 42 11 327
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ypldap.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 26
check_child 16 4 84
main_sig_handler 21 7 79
main_shutdown 4 1 11
main_start_update 14 3 95
main_trash_update 24 3 138
main_create_user_groups 65 12 457
main_end_update 53 6 317
main_dispatch_client 98 27 606
main_configure_client 11 1 98
main_init_timer 5 1 26
purge_config 8 2 49
main 102 22 680
imsg_event_add 13 3 95
imsg_compose_event 9 2 70
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/aldap.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/entries.c
Function nameLOCCyclomatic complexityToken count
flatten_entries 53 4 351
userent_name_cmp 4 1 28
userent_uid_cmp 4 1 25
groupent_name_cmp 4 1 28
groupent_gid_cmp 4 1 25
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/dispatch.c
Function nameLOCCyclomatic complexityToken count
iflist_getbyindex 10 2 40
iflist_getbyname 10 2 46
iflist_getbyaddr6 9 2 51
setup_iflist 74 17 618
register_interface 17 5 132
dispatch 67 21 417
got_one 27 7 173
interface_status 45 9 263
add_protocol 13 2 82
remove_protocol 15 4 76
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/packet.c
Function nameLOCCyclomatic complexityToken count
checksum 15 5 103
wrapsum 5 1 21
assemble_hw_header 9 1 79
assemble_udp_ip6_header 29 1 287
decode_hw_header 11 1 91
decode_udp_ip6_header 55 6 442
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/bpf.c
Function nameLOCCyclomatic complexityToken count
if_register_bpf 9 3 64
if_register_send 4 1 17
if_register_receive 41 13 332
send_packet_layer3 44 4 330
send_packet 19 3 160
receive_packet 59 10 359
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/dhcrelay6.c
Function nameLOCCyclomatic complexityToken count
usage 9 1 27
parse_destination 25 8 213
main 93 29 510
rdaemon 25 7 138
s6fromaddr 21 3 144
relay6_setup 78 23 600
print_hw_addr 22 6 145
v6addr2str 12 2 100
dhcp6type2str 33 14 96
relay6_pushrelaymsg 59 7 467
relay6_poprelaymsg 81 14 520
rai_configure 20 5 104
relay6_logsrcaddr 16 3 106
relay6 99 28 562
mcast6_recv 64 10 436
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/dhcpd.h
Function nameLOCCyclomatic complexityToken count
ss2sin6 4 1 19
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/dhcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/kvm_mkdb/nlist.c
Function nameLOCCyclomatic complexityToken count
__elf_knlist 193 48 1266
create_knlist 15 3 85
Source file: /home/sergeyb/sources/src/usr.sbin/kvm_mkdb/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/kvm_mkdb/kvm_mkdb.c
Function nameLOCCyclomatic complexityToken count
main 68 20 511
kvm_mkdb 53 14 372
usage 5 1 21
Source file: /home/sergeyb/sources/src/usr.sbin/kvm_mkdb/testdb.c
Function nameLOCCyclomatic complexityToken count
testdb 26 7 200
Source file: /home/sergeyb/sources/src/usr.sbin/inetd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/inetd/inetd.c
Function nameLOCCyclomatic complexityToken count
main 78 17 453
gettcp 35 13 239
dg_badinput 35 14 215
dg_broadcast 19 6 120
reap 34 13 207
config 198 48 1243
retry 18 8 93
die 20 8 110
setup 67 21 470
register_rpc 29 6 213
unregister_rpc 12 4 73
enter 15 2 80
matchconf 24 13 204
setconfig 11 2 56
endconfig 11 3 39
getconfigent 206 61 1437
freeconfig 20 2 124
skip 32 14 181
nextline 7 2 46
newstr 7 3 40
dupconfig 27 9 243
inetd_setproctitle 15 3 108
bump_nofile 22 4 129
echo_stream 10 3 67
echo_dg 14 3 109
discard_stream 9 3 59
discard_dg 5 1 33
initring 8 3 44
chargen_stream 26 6 160
chargen_dg 29 6 204
machtime 7 2 42
machtime_stream 6 1 37
machtime_dg 15 3 110
daytime_stream 8 1 62
daytime_dg 17 3 134
print_service 19 4 139
spawn 130 38 798
Source file: /home/sergeyb/sources/src/usr.sbin/accton/accton.c
Function nameLOCCyclomatic complexityToken count
usage 5 1 18
main 25 7 116
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/mkalias/mkalias.c
Function nameLOCCyclomatic complexityToken count
split_address 31 7 173
check_host 19 9 180
capitalize 19 6 105
usage 6 1 18
main 160 41 1085
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypxfr/ypxfr.c
Function nameLOCCyclomatic complexityToken count
ypxfr_foreach 15 2 99
get_local_ordernum 46 8 296
get_remote_ordernum 13 3 66
get_map 11 3 61
create_db 4 1 26
install_db 8 1 50
add_order 18 2 107
add_master 19 3 125
add_interdomain 22 5 143
add_secure 22 5 143
send_clear 12 2 68
send_reply 14 2 85
usage 8 1 20
main 147 37 881
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/ypserv_proc.c
Function nameLOCCyclomatic complexityToken count
ypproc_null_2_svc 14 2 100
ypproc_domain_2_svc 22 4 168
ypproc_domain_nonack_2_svc 24 5 178
ypproc_match_2_svc 25 7 215
ypproc_first_2_svc 24 7 199
ypproc_next_2_svc 25 7 215
ypproc_xfr_2_svc 36 6 329
ypproc_clear_2_svc 20 5 122
ypproc_all_2_svc 33 9 242
ypproc_master_2_svc 27 8 217
ypproc_order_2_svc 26 7 208
ypproc_maplist_2_svc 64 17 470
ypoldproc_null_1_svc 14 2 100
ypoldproc_domain_1_svc 22 4 168
ypoldproc_domain_nonack_1_svc 26 5 180
ypoldproc_match_1_svc 39 8 255
ypoldproc_first_1_svc 36 8 251
ypoldproc_next_1_svc 39 8 263
ypoldproc_poll_1_svc 40 8 270
ypoldproc_push_1_svc 37 8 243
ypoldproc_pull_1_svc 37 8 243
ypoldproc_get_1_svc 37 8 251
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/ypserv_db.c
Function nameLOCCyclomatic complexityToken count
ypdb_init 5 1 18
yp_private 29 18 225
ypdb_close_last 16 3 93
ypdb_close_all 7 4 29
ypdb_close_db 5 2 19
ypdb_open_db 117 36 704
lookup_host 71 17 583
ypdb_get_record 38 9 277
ypdb_get_first 28 5 183
ypdb_get_next 40 7 262
ypdb_get_order 24 3 159
ypdb_get_master 24 3 158
ypdb_xdr_get_all 43 12 316
ypdb_secure 16 4 96
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/acl.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/ypserv.c
Function nameLOCCyclomatic complexityToken count
_msgout 8 3 43
closedown 16 8 101
ypprog_1 89 15 591
ypprog_2 100 17 670
hup 14 2 63
my_svc_run 35 8 165
usage 5 1 21
main 136 34 776
sig_child 7 2 30
sig_hup 4 1 11
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/ypserv.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/acl.c
Function nameLOCCyclomatic complexityToken count
acl_read_line 36 12 210
acl_check_host 11 3 60
acl_add_net 17 3 103
acl_add_host 6 1 35
acl_init 226 83 1300
acl_securenet 114 26 626
acl_reset 9 2 34
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/makedbm/db.c
Function nameLOCCyclomatic complexityToken count
db_hash_list_database 21 3 181
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/makedbm/db.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/makedbm/makedbm.c
Function nameLOCCyclomatic complexityToken count
read_line 24 10 157
add_record 20 4 119
file_date 19 3 112
list_database 23 5 142
create_database 103 22 730
usage 7 1 20
main 77 17 364
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/yplib_host.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/ypdb.c
Function nameLOCCyclomatic complexityToken count
ypdb_open 18 1 132
ypdb_open_suf 16 1 110
ypdb_close 4 1 20
ypdb_fetch 17 2 99
ypdb_firstkey 15 2 80
ypdb_nextkey 15 2 80
ypdb_setkey 13 2 77
ypdb_store 12 4 100
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/yplib_host.c
Function nameLOCCyclomatic complexityToken count
yp_bind_host 44 8 255
yp_bind_local 20 2 119
yp_match_host 29 3 223
yp_first_host 31 3 255
yp_next_host 33 3 278
ypserv_xdr_ypresp_all_seq 51 9 338
yp_all_host 18 2 109
yp_order_host 19 2 131
yp_master_host 20 3 143
yp_maplist_host 15 2 100
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/yplog.c
Function nameLOCCyclomatic complexityToken count
yplog 7 1 33
vyplog 11 2 68
ypopenlog 10 3 50
ypcloselog 8 2 26
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/yplog.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/ypdef.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/ypdb.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/yppush/yppush_proc.c
Function nameLOCCyclomatic complexityToken count
yppushproc_null_1_svc 5 1 28
yppushproc_xfrresp_1_svc 9 3 64
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/yppush/yppush_svc.c
Function nameLOCCyclomatic complexityToken count
_msgout 8 3 43
yppush_xfrrespprog_1 47 8 274
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/yppush/yppush_err.c
Function nameLOCCyclomatic complexityToken count
yppush_err_string 38 17 147
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/yppush/yppush.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/yppush/yppush.c
Function nameLOCCyclomatic complexityToken count
usage 6 1 18
my_svc_run 33 7 165
req_xfr 29 4 194
push 54 11 304
pushit 8 2 44
main 98 17 611
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/revnetgroup/hash.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/revnetgroup/revnetgroup.c
Function nameLOCCyclomatic complexityToken count
usage 5 1 18
main 102 29 554
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/revnetgroup/hash.c
Function nameLOCCyclomatic complexityToken count
hash 32 11 118
hashkey 6 2 35
lookup 11 3 66
ngstore 11 1 79
mstore 34 6 231
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/revnetgroup/parse_netgroup.c
Function nameLOCCyclomatic complexityToken count
__setnetgrent 13 6 72
__getnetgrent 11 2 68
__endnetgrent 26 3 141
parse_netgrp 68 30 485
read_for_group 65 23 429
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/mknetid/mknetid.c
Function nameLOCCyclomatic complexityToken count
read_line 24 10 157
hashidx 12 5 64
add_user 30 5 202
add_group 19 5 119
read_passwd 59 20 331
isgsep 12 5 37
read_group 66 22 360
print_passwd_group 30 7 156
print_hosts 38 10 228
print_netid 39 10 229
usage 7 1 20
main 56 16 298
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/str.c
Function nameLOCCyclomatic complexityToken count
str_init 5 1 21
str_append 14 4 113
str_prepend 15 5 128
str_free 6 1 28
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/util.h
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/stringlist.h
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/util.c
Function nameLOCCyclomatic complexityToken count
emalloc 7 2 32
erealloc 7 2 38
get_line 22 5 144
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/stringlist.c
Function nameLOCCyclomatic complexityToken count
_ng_sl_init 14 3 79
_ng_sl_add 16 3 102
_ng_sl_free 9 3 56
_ng_sl_find 8 3 58
_ng_parse 29 11 181
_ng_makekey 13 4 82
_ng_print 5 1 50
getnetgroup 26 6 151
getstring 26 12 185
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/str.h
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/netgroup_mkdb.c
Function nameLOCCyclomatic complexityToken count
main 56 19 382
cleanup 6 1 37
ng_load 81 14 459
ng_insert 36 8 219
ng_reventry 64 12 399
ng_reverse 26 6 174
ng_print 26 5 168
ng_rprint 16 4 89
ng_dump 24 5 146
ng_rdump 23 5 140
ng_write 40 7 249
ng_rwrite 39 7 243
usage 6 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/iscsictl/iscsictl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 98 26 719
control_queue 4 1 25
run 8 2 46
run_command 40 14 211
ctl_getpdu 40 9 230
ctl_sendpdu 16 3 121
show_config 37 11 251
show_vscsi_stats 28 5 215
Source file: /home/sergeyb/sources/src/usr.sbin/iscsictl/iscsictl.h
Source file: /home/sergeyb/sources/src/usr.sbin/iscsictl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 23 6 142
match_token 62 24 378
show_valid_args 23 8 107
parse_addr 17 3 130
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/misc.c
Function nameLOCCyclomatic complexityToken count
parsekey 13 4 104
keycompare 4 1 40
error 14 2 87
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/mtree.c
Function nameLOCCyclomatic complexityToken count
main 110 49 574
usage 8 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/mtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/spec.c
Function nameLOCCyclomatic complexityToken count
spec 93 28 610
set 142 51 868
unset 6 2 40
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/verify.c
Function nameLOCCyclomatic complexityToken count
verify 8 1 38
vwalk 78 28 476
miss 55 22 409
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/create.c
Function nameLOCCyclomatic complexityToken count
cwalk 52 17 349
statf 123 46 1061
statd 81 29 583
dsort 9 4 91
output 13 2 105
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/compare.c
Function nameLOCCyclomatic complexityToken count
compare 251 66 1649
inotype 21 8 78
ftype 21 8 76
rlink 9 2 65
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/crc.c
Function nameLOCCyclomatic complexityToken count
crc 24 5 161
Source file: /home/sergeyb/sources/src/usr.sbin/sa/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/sa/usrdb.c
Function nameLOCCyclomatic complexityToken count
usracct_init 53 12 287
usracct_destroy 5 2 20
usracct_add 42 6 279
usracct_update 44 8 245
usracct_print 32 7 232
uid_compare 12 3 73
Source file: /home/sergeyb/sources/src/usr.sbin/sa/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/sa/pdb.c
Function nameLOCCyclomatic complexityToken count
pacct_init 48 12 261
pacct_destroy 5 2 20
pacct_add 33 5 247
pacct_update 41 8 222
pacct_print 73 22 569
check_junk 8 4 66
add_ci 9 1 63
print_ci 81 22 539
Source file: /home/sergeyb/sources/src/usr.sbin/sa/main.c
Function nameLOCCyclomatic complexityToken count
main 148 61 709
acct_load 51 22 405
decode_comp_t 9 2 36
cmp_comm 8 3 47
cmp_usrsys 15 3 110
cmp_avgusrsys 17 5 144
cmp_dkio 12 3 93
cmp_avgdkio 15 5 138
cmp_cpumem 12 3 93
cmp_avgcpumem 18 5 155
cmp_calls 12 3 93
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/relay.c
Function nameLOCCyclomatic complexityToken count
relay 6 1 43
relay_shutdown 5 1 18
relay_ruledebug 106 38 539
relay_protodebug 35 9 227
relay_privinit 24 7 144
relay_init 13 3 109
relay_session_publish 4 1 28
relay_session_unpublish 5 1 32
relay_statistics 52 7 431
relay_launch 47 9 307
relay_socket_af 18 3 103
relay_socket_getport 12 3 63
relay_socket 84 27 536
relay_socket_connect 15 4 101
relay_socket_listen 15 4 108
relay_connected 66 16 437
relay_input 37 8 257
relay_write 18 5 115
relay_dump 9 3 61
relay_read 26 7 180
relay_splice 40 12 349
relay_splicelen 22 4 145
relay_spliceadjust 11 5 72
relay_error 72 24 418
relay_accept 130 22 1013
relay_hash_addr 19 3 121
relay_from_table 98 26 687
relay_natlook 21 7 161
relay_session 31 11 236
relay_bindanyreq 18 1 162
relay_bindany 10 3 58
relay_connect_retry 64 14 457
relay_preconnect 10 2 55
relay_connect 93 23 664
relay_close 60 20 514
relay_reset_event 24 4 151
relay_dispatch_pfe 112 25 832
relay_dispatch_ca 4 1 23
relay_dispatch_parent 67 15 360
relay_dispatch_hce 8 1 37
relay_tls_ctx_create_proto 45 11 292
relay_tls_ctx_create 102 21 618
relay_tls_inspect_create 44 7 238
relay_tls_transaction 41 9 254
relay_tls_handshake 61 12 355
relay_tls_connected 9 1 73
relay_tls_readcb 50 13 328
relay_tls_writecb 35 9 228
relay_bufferevent_add 10 2 54
relay_bufferevent_printf 13 5 93
relay_bufferevent_print 6 2 56
relay_bufferevent_write_buffer 7 2 46
relay_bufferevent_write_chunk 9 2 52
relay_bufferevent_write 6 2 52
relay_cmp_af 29 5 215
relay_load_fd 24 4 133
relay_load_certfiles 61 19 475
relay_session_cmp 8 3 73
relay_log 6 3 41
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 43
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/pfe_filter.c
Function nameLOCCyclomatic complexityToken count
init_tables 43 9 333
kill_tables 24 5 174
sync_table 74 15 568
kill_srcnodes 39 5 301
flush_table 28 7 245
transaction_init 14 2 137
transaction_commit 7 2 43
sync_ruleset 139 28 1188
flush_rulesets 31 9 190
natlook 67 10 669
check_table 27 6 216
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/relayd.h
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/relay_udp.c
Function nameLOCCyclomatic complexityToken count
relay_udp_privinit 6 2 32
relay_udp_init 17 3 79
relay_udp_bind 13 3 86
relay_udp_socket 55 17 336
relay_udp_response 27 6 185
relay_udp_server 96 14 764
relay_udp_timeout 7 2 39
relay_dns_log 20 3 118
relay_dns_validate 36 10 257
relay_dns_request 46 12 395
relay_dns_result 20 4 152
relay_dns_cmp 8 3 70
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/config.c
Function nameLOCCyclomatic complexityToken count
config_init 85 15 699
config_purge 81 29 625
config_setreset 12 4 82
config_getreset 8 1 52
config_getcfg 32 8 229
config_settable 29 7 239
config_gettable 26 4 206
config_gethost 31 4 255
config_setrdr 21 4 153
config_getrdr 24 4 211
config_getvirt 19 3 153
config_setrt 20 4 153
config_getrt 20 3 171
config_getroute 28 4 231
config_setproto 23 5 173
config_setrule 44 7 369
config_getproto 28 4 204
config_getrule 36 7 309
config_setrelayfd 14 3 102
config_setrelay 134 29 911
config_getrelay 55 10 410
config_getrelaytable 31 4 230
config_getrelayfd 31 5 189
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/http.h
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/check_tls.c
Function nameLOCCyclomatic complexityToken count
check_tls_read 44 9 310
check_tls_write 35 6 256
check_tls_handshake 48 8 324
check_tls_cleanup 8 1 43
check_tls_error 6 2 45
check_tls 21 5 165
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/ca.c
Function nameLOCCyclomatic complexityToken count
ca 5 1 38
ca_init 8 3 62
hash_x509 17 4 153
ca_launch 71 18 511
ca_dispatch_parent 23 6 97
ca_dispatch_relay 53 11 409
rsae_send_imsg 70 15 522
rsae_pub_enc 5 1 50
rsae_pub_dec 5 1 50
rsae_priv_enc 6 1 50
rsae_priv_dec 6 1 50
rsae_mod_exp 5 1 46
rsae_bn_mod_exp 6 1 60
rsae_init 7 2 40
rsae_finish 7 2 40
rsae_sign 7 1 57
rsae_verify 7 1 57
rsae_keygen 5 1 44
ca_engine_init 51 15 290
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 49 9 367
control_listen 14 3 96
control_cleanup 7 2 35
control_accept 36 9 282
control_connbyfd 9 2 42
control_close 17 3 123
control_dispatch_imsg 172 39 1302
control_imsg_forward 9 2 73
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/relay_http.c
Function nameLOCCyclomatic complexityToken count
relay_http 12 2 90
relay_http_init 6 1 32
relay_httpdesc_init 9 2 58
relay_httpdesc_free 17 2 96
relay_read_http 314 104 1745
relay_read_httpcontent 50 12 322
relay_read_httpchunks 101 26 611
relay_reset_http 10 1 53
_relay_lookup_url 41 9 245
relay_lookup_url 56 19 459
relay_lookup_cookie 41 14 280
relay_lookup_query 40 15 276
relay_http_time 8 3 58
relay_abort_http 76 14 410
relay_close_http 7 1 45
relay_expand_http 53 18 405
relay_writerequest_http 18 10 155
relay_writeresponse_http 14 6 114
relay_writeheader_kv 21 10 155
relay_writeheader_http 15 3 103
relay_httpmethod_byname 11 2 82
relay_httpmethod_byid 12 3 66
relay_httpmethod_cmp 6 1 44
relay_httperror_byid 9 1 67
relay_httperror_cmp 6 1 41
relay_httpquery_test 16 5 126
relay_httpheader_test 25 9 182
relay_httppath_test 21 9 181
relay_httpurl_test 23 10 195
relay_httpcookie_test 35 10 212
relay_match_actions 23 7 178
relay_apply_actions 179 51 996
relay_test 86 30 601
relay_calc_skip_steps 27 10 201
relay_match 9 2 55
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/snmp.c
Function nameLOCCyclomatic complexityToken count
snmp_init 20 6 131
snmp_setsock 18 4 157
snmp_getsock 20 4 154
snmp_event_add 6 1 50
snmp_sock 42 9 207
snmp_agentx_process 274 82 1551
snmp_register 10 3 70
snmp_unregister 10 3 68
snmp_element 66 24 417
snmp_hosttrap 23 5 237
snmp_string2oid 16 6 149
sstodata 8 3 60
sstolen 8 3 58
snmp_rdr_byidx 36 11 197
snmp_relay_byidx 36 11 197
snmp_router_byidx 37 11 199
snmp_netroute_byidx 36 11 197
snmp_host_byidx 36 11 198
snmp_session_byidx 36 11 190
snmp_table_byidx 36 11 197
snmp_redirect 90 27 600
snmp_relay 102 32 701
snmp_router 62 17 405
snmp_netroute 57 16 384
snmp_host 97 29 623
snmp_session 119 33 779
snmp_table 46 12 299
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/name2id.c
Function nameLOCCyclomatic complexityToken count
tag_name2id 4 1 20
tag_id2name 4 1 18
tag_unref 4 1 15
tag_ref 4 1 15
label_name2id 4 1 20
label_id2name 4 1 18
label_unref 4 1 15
label_ref 4 1 15
_name2id 35 10 238
_id2name 10 3 56
_unref 17 5 100
_ref 11 3 50
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/carp.c
Function nameLOCCyclomatic complexityToken count
carp_group_find 8 2 44
carp_demote_init 25 7 166
carp_demote_shutdown 11 4 73
carp_demote_get 27 5 175
carp_demote_set 18 7 122
carp_demote_reset 18 5 102
carp_demote_ioctl 26 6 187
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/agentx.c
Function nameLOCCyclomatic complexityToken count
snmp_agentx_alloc 11 2 69
snmp_agentx_open 21 5 161
snmp_agentx_fdopen 16 6 112
snmp_agentx_close 13 4 91
snmp_agentx_free 17 5 114
snmp_agentx_pdu_alloc 21 3 166
snmp_agentx_response 14 4 103
snmp_agentx_open_response 7 2 47
snmp_agentx_pdu_free 6 1 28
snmp_agentx_buffer_consume 10 2 68
snmp_agentx_send 30 8 228
snmp_agentx_recv 84 24 575
snmp_agentx_request 17 7 101
agentx_find_inflight 8 3 56
snmp_agentx_buffercheck 18 5 145
snmp_agentx_open_pdu 24 6 160
snmp_agentx_close_pdu 15 3 98
snmp_agentx_notify_pdu 13 3 79
snmp_agentx_response_pdu 16 3 100
snmp_agentx_ping_pdu 9 2 49
snmp_agentx_register_pdu 21 6 144
snmp_agentx_unregister_pdu 22 7 151
snmp_agentx_get_pdu 19 5 128
snmp_agentx_raw 10 2 70
snmp_agentx_int 4 1 29
snmp_agentx_int64 4 1 29
snmp_agentx_octetstring 13 4 105
snmp_agentx_oid 25 10 197
snmp_agentx_varbind 33 16 195
snmp_agentx_read_vbhdr 9 3 64
snmp_agentx_copy_raw 4 1 30
snmp_agentx_read_raw 4 1 30
snmp_agentx_do_read_raw 9 3 63
snmp_agentx_read_int 8 3 61
snmp_agentx_read_int64 8 3 61
snmp_agentx_read_oid 5 1 30
snmp_agentx_do_read_oid 23 5 173
snmp_agentx_read_searchrange 8 3 58
snmp_agentx_read_octetstr 15 4 92
snmp_agentx_ping 13 4 85
snmp_agentx_update_ids 5 1 34
snmp_oid2string 13 3 103
snmp_oid_cmp 19 6 123
snmp_oid_increment 9 3 54
snmp_agentx_type2name 26 2 73
snmp_agentx_dump_hdr 19 3 121
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/boguskeys.h
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/pfe.c
Function nameLOCCyclomatic complexityToken count
pfe 20 6 165
pfe_init 8 3 58
pfe_shutdown 5 1 18
pfe_setup_events 9 2 64
pfe_disable_events 4 1 14
pfe_dispatch_hce 59 12 400
pfe_dispatch_parent 50 14 209
pfe_dispatch_relay 95 21 684
show 73 11 698
show_sessions 10 2 75
disable_rdr 20 4 145
enable_rdr 28 7 230
disable_table 27 6 233
enable_table 28 6 242
disable_host 39 9 303
enable_host 30 7 244
pfe_sync 89 19 724
pfe_statistics 41 7 333
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/hce.c
Function nameLOCCyclomatic complexityToken count
hce 6 1 43
hce_init 9 3 70
hce_setup_events 21 6 138
hce_disable_events 23 4 144
hce_launch_checks 55 12 382
hce_notify_done 79 18 607
hce_dispatch_pfe 51 10 362
hce_dispatch_parent 29 7 137
hce_dispatch_relay 8 1 37
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/util.c
Function nameLOCCyclomatic complexityToken count
host_error 108 35 359
host_status 12 4 44
table_check 20 8 76
print_availability 9 2 64
print_host 9 2 63
print_time 12 1 96
printb_flags 30 8 184
getmonotime 7 2 36
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/relayd.c
Function nameLOCCyclomatic complexityToken count
parent_sig_handler 19 6 80
usage 7 1 25
main 121 29 833
parent_configure 36 5 273
parent_reload 24 7 140
parent_configure_done 16 5 84
parent_shutdown 12 1 77
parent_dispatch_pfe 44 9 266
parent_dispatch_hce 20 3 129
parent_dispatch_relay 32 6 186
parent_dispatch_ca 13 2 68
purge_table 20 4 156
purge_key 5 1 24
purge_relay 38 9 269
kv_add 26 7 186
kv_set 18 3 120
kv_setkey 12 2 75
kv_delete 12 2 78
kv_extend 14 5 109
kv_purge 6 2 36
kv_free 6 1 36
kv_inherit 23 7 163
kv_log 23 11 174
kv_find 15 4 94
kv_cmp 4 1 28
rule_add 69 24 440
rule_inherit 25 8 173
rule_free 12 5 81
rule_delete 6 1 33
rule_settable 14 5 106
host_find 10 2 63
table_find 8 2 47
rdr_find 8 2 47
relay_find 8 2 47
proto_find 8 2 45
session_find 10 2 61
route_find 8 2 47
router_find 8 2 47
host_findbyname 10 2 70
table_findbyname 8 2 54
table_findbyconf 19 7 180
rdr_findbyname 8 2 54
relay_findbyname 8 2 54
relay_findbyaddr 9 3 75
pkey_find 8 2 53
pkey_add 16 4 118
event_again 16 2 157
expand_string 29 6 204
translate_string 24 5 95
digeststr 14 3 69
canonicalize_host 36 12 258
parse_url 30 8 245
bindany 23 7 157
map6to4 18 4 155
map4to6 19 4 174
socket_rlimit 13 4 94
get_string 9 4 66
get_data 8 2 47
sockaddr_cmp 53 20 578
prefixlen2mask 8 3 43
prefixlen2mask6 15 4 107
accept_reserve 15 3 97
parent_tls_ticket_rekey 16 1 124
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/pfe_route.c
Function nameLOCCyclomatic complexityToken count
init_routes 12 4 92
sync_routes 29 4 238
pfe_route 104 19 924
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/shuffle.c
Function nameLOCCyclomatic complexityToken count
shuffle_init 11 2 75
shuffle_generate16 17 2 110
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/check_icmp.c
Function nameLOCCyclomatic complexityToken count
icmp_setup 13 4 109
icmp_init 8 1 67
schedule_icmp 9 2 65
check_icmp_add 12 2 125
check_icmp 11 3 86
icmp_checks_done 18 5 111
icmp_checks_timeout 19 5 124
send_icmp 115 22 743
recv_icmp 56 12 391
in_cksum 19 3 112
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/check_tcp.c
Function nameLOCCyclomatic complexityToken count
check_tcp 60 14 450
tcp_write 21 4 123
tcp_close 9 2 53
tcp_host_up 37 9 244
tcp_send_req 33 7 234
tcp_read_buf 45 11 315
check_send_expect 17 3 114
check_http_code 48 7 305
check_http_digest 32 4 212
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/proc.c
Function nameLOCCyclomatic complexityToken count
proc_ispeer 9 3 55
proc_getid 13 3 75
proc_exec 52 11 398
proc_connect 24 9 191
proc_init 42 11 301
proc_accept 24 4 185
proc_setup 42 13 451
proc_kill 30 11 180
proc_open 34 10 319
proc_close 21 6 171
proc_shutdown 11 4 76
proc_sig_handler 17 7 63
proc_run 64 17 574
proc_dispatch 66 16 439
proc_dispatch_null 4 1 23
imsg_event_add 13 3 95
imsg_compose_event 10 2 75
imsg_composev_event 10 2 77
proc_range 9 2 57
proc_compose_imsg 12 3 106
proc_compose 5 1 48
proc_composev_imsg 11 3 106
proc_composev 5 1 50
proc_forward_imsg 6 1 58
proc_ibuf 6 1 48
proc_iev 6 1 46
proc_flush_imsg 17 6 126
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/ssl.c
Function nameLOCCyclomatic complexityToken count
ssl_init 11 2 41
ssl_password_cb 11 3 71
ssl_load_key 35 9 246
ssl_update_certificate 67 16 472
ssl_load_pkey 52 11 303
ssl_ctx_fake_private_key 49 10 260
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/check_script.c
Function nameLOCCyclomatic complexityToken count
check_script 17 4 183
script_done 15 5 100
script_sig_alarm 7 2 30
script_exec 68 11 461
Source file: /home/sergeyb/sources/src/usr.sbin/apmd/apm-proto.h
Source file: /home/sergeyb/sources/src/usr.sbin/apmd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/apmd/apmsubr.c
Function nameLOCCyclomatic complexityToken count
battstate 19 7 54
ac_state 15 5 42
perf_mode 13 4 36
Source file: /home/sergeyb/sources/src/usr.sbin/apmd/apmd.c
Function nameLOCCyclomatic complexityToken count
sigexit 5 1 16
usage 7 1 21
error 12 2 74
set_driver_messages 5 2 32
power_status 48 16 260
sockunlink 5 2 18
bind_socket 22 5 174
handle_client 69 13 388
suspend 8 1 37
stand_by 8 1 37
hibernate 8 1 37
main 230 73 1221
setperfpolicy 21 5 155
do_etc_file 32 6 165
Source file: /home/sergeyb/sources/src/usr.sbin/repquota/repquota.c
Function nameLOCCyclomatic complexityToken count
main 78 31 514
usage 6 1 25
repquota 75 25 522
oneof 8 3 58
hasquota 33 10 245
lookup 8 3 61
addid 27 6 185
timeprt 24 5 149
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/rmpproto.c
Function nameLOCCyclomatic complexityToken count
ProcessPacket 42 12 221
SendServerID 22 4 161
SendFileNo 29 6 217
SendBootRepl 56 13 426
SendReadRepl 63 11 425
BootDone 21 4 138
SendPacket 12 2 126
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/rmp.h
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/conf.c
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/bpf.c
Function nameLOCCyclomatic complexityToken count
BpfOpen 101 15 889
BpfGetIntfName 37 11 262
BpfRead 36 6 227
BpfWrite 8 2 54
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/defs.h
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/rbootd.c
Function nameLOCCyclomatic complexityToken count
main 125 34 728
DoTimeout 12 3 82
FindClient 9 3 72
Exit 6 1 30
DoExit 5 1 18
ReConfig 4 1 11
DoReConfig 9 3 41
DebugOff 4 1 11
DoDebugOff 6 2 24
DebugOn 4 1 11
DoDebugOn 7 3 38
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/parseconf.c
Function nameLOCCyclomatic complexityToken count
ParseConfig 71 21 379
ParseAddr 34 11 215
GetBootFiles 32 10 207
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/utils.c
Function nameLOCCyclomatic complexityToken count
DispPkt 79 11 671
GetEtherAddr 18 3 100
DspFlnm 8 2 61
NewClient 12 2 77
FreeClients 9 2 33
NewStr 10 2 46
NewConn 18 3 104
FreeConn 11 3 55
FreeConns 13 3 54
AddConn 6 2 24
FindConn 9 3 76
RemoveConn 20 4 88
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/rmp_var.h
Source file: /home/sergeyb/sources/src/usr.sbin/ndp/gmt2local.h
Source file: /home/sergeyb/sources/src/usr.sbin/ndp/ndp.c
Function nameLOCCyclomatic complexityToken count
main 98 35 415
file 29 5 240
getsocket 13 5 90
set 66 19 462
get 28 6 209
delete 56 16 405
dump 143 44 926
getnbrinfo 18 4 123
ether_str 12 2 99
ndp_ether_aton 13 3 115
usage 8 1 31
rtmsg 56 16 372
rtget 35 9 200
ifinfo 20 4 170
sec2str 36 12 240
ts_print 7 1 56
Source file: /home/sergeyb/sources/src/usr.sbin/ndp/gmt2local.c
Function nameLOCCyclomatic complexityToken count
gmt2local 18 3 131
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/syslogd.c
Function nameLOCCyclomatic complexityToken count
main 480 145 3388
address_alloc 14 5 171
socket_bind 92 26 624
klog_readcb 13 4 80
udp_readcb 17 5 128
unix_readcb 14 5 97
reserve_accept4 27 6 204
tcp_acceptcb 4 1 25
tls_acceptcb 4 1 25
acceptcb 70 20 489
octet_counting 26 13 186
non_transparent_framing 20 10 147
tcp_readcb 36 12 294
tcp_closecb 19 7 137
tcp_socket 17 4 135
tcp_dropcb 7 1 50
tcp_writecb 13 3 104
tcp_errorcb 41 9 325
tcp_connectcb 48 8 355
tcp_connect_retry 17 3 136
tcpbuf_countmsg 12 3 74
usage 9 1 24
parsepriority 19 6 117
printline 20 6 153
printsys 23 6 180
vlogmsg 14 3 108
logline 163 89 1322
fprintlog 232 67 1506
wallmsg 36 9 235
cvthname 14 4 98
die_signalcb 4 1 19
mark_timercb 9 1 49
init_signalcb 8 1 46
logevent 4 1 21
dropped_warn 10 3 54
die 27 6 163
init 179 58 1203
find_dup 32 14 193
cfline 263 93 1864
loghost_parse 26 9 177
getmsgbufsize 13 2 75
decode 16 6 133
markit 19 4 120
unix_socket 46 9 316
double_sockbuf 16 5 120
set_sockbuf 8 3 70
ctlconn_cleanup 14 3 81
ctlsock_acceptcb 24 8 148
find_membuf_log 10 3 55
ctlconn_readcb 113 29 664
ctlconn_writecb 43 11 184
tailify_replytext 18 4 104
ctlconn_logto 15 3 81
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 13 3 69
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 6 1 37
log_warn 19 3 120
log_warnx 7 1 35
log_info 7 1 38
log_debug 18 3 91
log_debugadd 20 4 92
vfatalc 17 3 105
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/evbuffer_tls.h
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/privsep.c
Function nameLOCCyclomatic complexityToken count
priv_init 46 13 391
priv_exec 222 53 1520
open_file 6 2 39
open_pipe 55 18 417
check_tty_name 15 7 108
check_log_name 31 9 174
increase_state 8 4 41
priv_open_tty 17 3 117
priv_open_log 20 4 131
priv_open_utmp 19 4 95
priv_open_config 19 4 95
priv_config_modified 10 2 59
priv_config_parse_done 8 2 41
priv_getaddrinfo 34 8 330
priv_getnameinfo 18 5 138
sig_pass_to_chld 7 2 30
sig_got_chld 11 6 65
may_read 19 6 92
must_read 18 6 87
must_write 18 6 87
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/privsep_fdpass.c
Function nameLOCCyclomatic complexityToken count
send_fd 33 4 225
receive_fd 44 7 272
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/syslogd.h
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/ttymsg.c
Function nameLOCCyclomatic complexityToken count
ttymsg 96 26 583
ttycb 25 7 151
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/evbuffer_tls.c
Function nameLOCCyclomatic complexityToken count
bufferevent_add 10 2 54
buffertls_readcb 63 17 433
buffertls_writecb 46 13 310
buffertls_handshakecb 37 9 247
buffertls_set 9 1 73
buffertls_accept 10 1 81
buffertls_connect 10 1 81
evtls_read 18 7 145
evtls_write 9 2 58
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/ringbuf.c
Function nameLOCCyclomatic complexityToken count
ringbuf_init 13 4 86
ringbuf_free 5 1 21
ringbuf_clear 4 1 19
ringbuf_used 4 1 30
ringbuf_append_line 33 9 303
ringbuf_to_string 20 7 167
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpc/lpc.c
Function nameLOCCyclomatic complexityToken count
main 31 8 181
intr 6 2 21
cmdscanner 41 13 207
getcmd 25 8 155
makeargv 13 3 67
help 48 13 305
ingroup 21 6 128
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpc/lpc.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpc/cmds.c
Function nameLOCCyclomatic complexityToken count
doabort 35 13 217
abortpr 61 15 383
upstat 22 6 177
clean 35 13 215
doselect 7 5 55
sortq 15 6 141
cleanpr 54 14 346
unlinkf 9 2 36
enable 35 13 215
enablepr 19 5 124
disable 35 13 215
disablepr 29 7 197
down 33 11 219
putmsg 62 14 458
quit 4 1 16
restart 37 13 227
startcmd 35 13 217
startpr 26 8 163
status 31 13 206
prstat 69 20 464
stop 35 13 215
stoppr 32 7 209
topq 58 15 330
touch 11 1 72
doarg 57 21 403
up 35 13 217
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpc/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpc/cmdtab.c
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lprm/lprm.c
Function nameLOCCyclomatic complexityToken count
main 65 19 407
usage 7 1 25
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/lp.local.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/lp.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/common_vars.c
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/rmjob.c
Function nameLOCCyclomatic complexityToken count
rmjob 59 22 376
lockchk 35 10 222
process 25 9 148
do_unlink 10 3 46
chk 36 23 332
isowner 11 7 93
rmremote 55 14 425
alarmer 3 1 7
iscf 4 2 31
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/displayq.c
Function nameLOCCyclomatic complexityToken count
displayq 193 66 1420
alarmer 3 1 7
nodaemon 7 2 29
header 7 1 36
inform 55 14 329
inlist 16 9 152
show 9 3 53
blankfill 5 2 19
dump 24 7 155
ldump 18 4 96
prank 18 3 129
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/common.c
Function nameLOCCyclomatic complexityToken count
getport 67 15 408
get_line 21 7 119
getq 59 14 358
compar 6 1 51
checkremote 82 17 572
fatal 15 3 94
safe_open 22 6 128
ckqueue 21 6 126
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/startdaemon.c
Function nameLOCCyclomatic complexityToken count
startdaemon 54 11 359
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/filters/lpf.c
Function nameLOCCyclomatic complexityToken count
main 130 42 650
usage 7 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpr/lpr.c
Function nameLOCCyclomatic complexityToken count
main 234 92 1413
copy 33 12 227
linked 33 11 188
card 16 5 117
nfile 22 5 131
cleanup 26 8 135
test 46 11 251
itoa 11 2 52
chkprinter 21 8 186
mktemps 35 11 311
lmktemp 7 2 48
usage 10 1 28
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/key.c
Function nameLOCCyclomatic complexityToken count
c_key 4 1 42
ksearch 26 6 188
f_cbreak 12 2 67
f_columns 5 1 28
f_dec 10 1 85
f_extproc 10 2 60
f_ispeed 5 1 30
f_nl 11 2 58
f_ospeed 5 1 30
f_raw 11 2 57
f_rows 5 1 28
f_sane 9 1 79
f_tty 7 2 39
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/printjob.c
Function nameLOCCyclomatic complexityToken count
printjob 159 44 1119
printit 121 50 769
print 238 60 1536
sendit 53 23 367
sendfile 80 27 581
response 18 2 120
banner 36 7 334
scnline 9 3 51
scan_out 31 13 241
dropit 16 9 73
sendmail 75 21 467
delay 9 3 54
dofork 36 7 179
abortpr 11 3 61
init 71 17 663
openpr 42 11 253
opennet 32 9 175
opentty 22 8 117
openrem 29 9 177
alarmer 3 1 7
setty 63 18 448
pstatus 25 4 171
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/lpdchar.c
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/allowedhost.c
Function nameLOCCyclomatic complexityToken count
allowedhost 60 18 366
checkhost 29 6 224
gethostloop 36 8 285
main 19 4 143
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/lpd.c
Function nameLOCCyclomatic complexityToken count
main 248 63 1496
reapchild 8 2 40
mcleanup 9 2 39
doit 111 37 587
startup 30 9 147
chkhost 60 14 423
usage 7 1 26
socksetup 76 19 481
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/modes.c
Function nameLOCCyclomatic complexityToken count
msearch 35 9 254
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/recvjob.c
Function nameLOCCyclomatic complexityToken count
recvjob 38 13 277
readjob 68 22 440
readfile 41 11 245
noresponse 9 3 44
chksize 16 4 95
read_number 13 3 79
rcleanup 17 7 106
frecverr 12 1 65
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpq/lpq.c
Function nameLOCCyclomatic complexityToken count
main 73 24 426
usage 8 1 25
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntp.c
Function nameLOCCyclomatic complexityToken count
ntp_sighdlr 9 3 25
ntp_main 306 94 2239
ntp_dispatch_imsg 37 14 234
ntp_dispatch_imsg_dns 80 18 480
peer_add 5 1 24
peer_remove 6 1 29
priv_adjfreq 37 6 294
priv_adjtime 66 15 529
offset_compare 13 3 88
priv_settime 6 1 35
priv_dns 6 1 44
update_scale 13 6 75
scale_interval 7 1 41
error_interval 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 43
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/config.c
Function nameLOCCyclomatic complexityToken count
host 14 6 94
host_v4 16 3 123
host_v6 24 3 186
host_dns_free 9 2 40
host_dns 44 11 338
new_peer 8 2 47
new_sensor 9 3 62
new_constraint 9 2 54
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/constraint.c
Function nameLOCCyclomatic complexityToken count
constraint_init 9 1 50
constraint_addr_init 31 7 189
constraint_query 52 10 352
priv_constraint_msg 46 10 341
priv_constraint_readquery 33 11 310
priv_constraint_child 76 20 612
priv_constraint_check_child 28 8 156
priv_constraint_kill 9 2 45
constraint_byid 9 2 43
constraint_byfd 9 2 43
constraint_bypid 9 2 43
constraint_close 18 6 123
priv_constraint_close 14 2 80
constraint_add 4 1 21
constraint_remove 11 2 77
constraint_purge 6 1 32
priv_constraint_dispatch 35 11 237
constraint_msg_result 24 3 149
constraint_msg_close 24 6 125
constraint_msg_dns 48 11 332
constraint_cmp 4 1 33
constraint_update 30 6 193
constraint_reset 10 2 47
constraint_check 21 5 120
httpsdate_init 30 12 233
httpsdate_free 16 3 90
httpsdate_request 55 13 356
httpsdate_query 19 3 143
tls_readline 38 12 231
get_string 8 4 58
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntp.h
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 37 7 260
control_listen 8 3 42
control_shutdown 4 1 12
control_cleanup 5 2 18
control_accept 23 5 142
control_connbyfd 9 2 40
control_close 13 2 78
control_dispatch_msg 93 16 676
session_socket_nonblockmode 9 3 58
build_show_status 23 3 157
build_show_peer 60 16 499
build_show_sensor 27 6 237
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntpd.c
Function nameLOCCyclomatic complexityToken count
sighdlr 15 5 43
usage 11 2 44
main 176 54 1139
check_child 11 5 60
dispatch_imsg 57 18 380
reset_adjtime 7 2 34
ntpd_adjtime 19 7 126
ntpd_adjfreq 26 8 160
ntpd_settime 22 3 142
readfreq 25 7 146
writefreq 20 5 107
ctl_main 139 42 746
ctl_lookup_option 13 6 82
show_status_msg 40 10 262
show_peer_msg 40 11 280
show_sensor_msg 35 10 235
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntp_dns.c
Function nameLOCCyclomatic complexityToken count
sighdlr_dns 9 3 25
ntp_dns 59 23 440
dns_dispatch_imsg 57 19 348
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/sensors.c
Function nameLOCCyclomatic complexityToken count
sensor_init 4 1 14
sensor_scan 17 5 85
sensor_probe 29 7 204
sensor_add 33 9 279
sensor_remove 6 1 33
sensor_query 41 9 355
sensor_update 21 4 170
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntp_msg.c
Function nameLOCCyclomatic complexityToken count
ntp_getmsg 10 3 67
ntp_sendmsg 24 8 144
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/client.c
Function nameLOCCyclomatic complexityToken count
set_next 6 1 34
set_deadline 5 1 28
client_peer_init 13 2 99
client_addr_init 27 6 168
client_nextaddr 19 6 142
client_query 59 20 524
client_dispatch 156 39 1410
client_update 24 11 201
client_log_error 11 2 80
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/util.c
Function nameLOCCyclomatic complexityToken count
gettime_corrected 4 1 17
getoffset 7 2 47
gettime 7 2 37
gettime_from_timeval 4 1 31
getmonotime 7 2 34
d_to_tv 9 2 54
lfp_to_d 8 1 60
d_to_lfp 7 1 51
sfp_to_d 8 1 60
d_to_sfp 7 1 51
print_rtable 8 2 46
log_sockaddr 9 2 52
start_child 35 8 229
sanitize_argv 19 4 136
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/server.c
Function nameLOCCyclomatic complexityToken count
setup_listeners 100 28 740
server_dispatch 46 10 368
Source file: /home/sergeyb/sources/src/usr.sbin/wsconscfg/wsconscfg.c
Function nameLOCCyclomatic complexityToken count
usage 8 1 28
main 86 24 474
Source file: /home/sergeyb/sources/src/usr.sbin/ac/ac.c
Function nameLOCCyclomatic complexityToken count
file 11 4 68
add_tty 21 4 136
do_tty 17 6 111
update_user 20 5 144
main 46 16 218
show 5 1 32
show_users 6 2 39
show_today 22 4 172
log_out 28 8 222
log_in 21 7 172
ac 73 21 486
usage 7 1 29
Source file: /home/sergeyb/sources/src/usr.sbin/npppctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppctl/npppctl.c
Function nameLOCCyclomatic complexityToken count
usage 6 1 20
main 55 14 319
show_clear_session 61 17 397
monitor_session 38 13 250
fprint_who_brief 13 2 83
fprint_who_packets 14 2 81
fprint_who_all 46 4 351
clear_session 46 13 354
filter_match 26 14 192
peerstr 30 6 244
humanize_duration 28 10 188
humanize_bytes 15 5 122
imsg_wait_command_completion 17 10 119
Source file: /home/sergeyb/sources/src/usr.sbin/npppctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 23 6 142
match_token 104 33 571
show_valid_args 34 11 153
parse_protocol 8 5 64
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/newfs_extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ffs_balloc.c
Function nameLOCCyclomatic complexityToken count
ffs_balloc 7 2 55
ffs_balloc_ufs1 172 36 1208
ffs_balloc_ufs2 172 36 1207
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ffs_alloc.c
Function nameLOCCyclomatic complexityToken count
ffs_alloc 28 8 186
ffs_blkpref_ufs1 28 10 265
ffs_blkpref_ufs2 30 10 269
ffs_hashalloc 29 8 216
ffs_alloccg 61 15 498
ffs_alloccgblk 32 5 246
scanc 7 3 60
ffs_mapsearch 48 7 396
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ufs_inode.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/buf.c
Function nameLOCCyclomatic complexityToken count
bread 22 4 228
brelse 12 2 69
bwrite 20 4 136
bcleanup 13 3 71
getblk 34 6 211
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ffs_extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ffs_tables.c
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ffs_subr.c
Function nameLOCCyclomatic complexityToken count
ffs_isblock 20 5 162
ffs_clrblock 20 5 137
ffs_setblock 20 5 137
ffs_clusteracct 63 16 440
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ufs_bmap.c
Function nameLOCCyclomatic complexityToken count
ufs_getlbns 46 10 307
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/mkfs.c
Function nameLOCCyclomatic complexityToken count
ffs_mkfs 319 51 2571
ffs_write_superblock 28 4 244
initcg 162 34 1283
ffs_rdfs 17 4 128
ffs_wtfs 16 4 125
count_digits 6 2 33
ilog2 8 3 53
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/buf.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/mkfs_msdos.c
Function nameLOCCyclomatic complexityToken count
mkfs_msdos 479 173 3823
getstdfmt 12 4 92
getbpbinfo 55 23 360
print_bpb 23 8 187
ckgeom 12 3 61
oklabel 10 5 62
mklabel 8 5 66
setstr 5 3 34
infohandler 4 1 11
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_vfsops.c
Function nameLOCCyclomatic complexityToken count
msdosfs_mount 192 35 1382
msdosfs_root 11 2 69
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_unicode.c
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/denode.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_vnops.c
Function nameLOCCyclomatic complexityToken count
msdosfs_times 8 1 77
msdosfs_findslot 108 24 624
msdosfs_mkfile 40 8 309
msdosfs_updatede 13 2 65
msdosfs_wfile 75 13 535
msdosfs_mkdire 82 12 726
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_fat.c
Function nameLOCCyclomatic complexityToken count
fatblock 17 4 132
pcbmap 121 33 805
fc_lookup 17 7 113
fc_purge 10 3 58
updatefats 53 14 388
usemap_alloc 5 1 35
usemap_free 5 1 37
clusterfree 14 3 77
fatentry 67 17 456
fatchain 55 13 361
chainlength 28 8 172
chainalloc 16 5 118
clusteralloc 60 13 491
freeclusterchain 51 11 341
fillinusemap 36 12 268
extendfile 65 16 407
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/fat.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/direntry.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_lookup.c
Function nameLOCCyclomatic complexityToken count
createde 132 31 882
readep 19 5 147
readde 5 1 41
uniqdosname 42 12 272
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfsmount.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_conv.c
Function nameLOCCyclomatic complexityToken count
unix2dostime 46 14 316
unix2dosfn 91 42 644
unix2winfn 40 11 322
winChkName 45 25 354
winChksum 8 2 54
winSlotCnt 9 5 56
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/mkfs_msdos.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_denode.c
Function nameLOCCyclomatic complexityToken count
deget 65 13 434
detrunc 65 20 412
deextend 25 8 162
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/iso9660_rrip.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/iso_rrip.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_debug.c
Function nameLOCCyclomatic complexityToken count
print_n_tabs 6 2 28
debug_print_rrip_info 7 1 28
debug_print_susp_attrs 12 1 97
debug_print_tree 31 7 210
debug_print_path_tree 14 4 75
debug_print_volume_descriptor_information 27 7 124
debug_dump_to_xml_ptentry 12 1 80
debug_dump_to_xml_path_table 16 3 125
debug_dump_to_xml 37 5 240
debug_dump_to_xml_padded_hex_output 19 5 127
debug_get_encoded_number 22 9 98
debug_dump_integer 5 1 37
debug_dump_string 3 1 20
debug_dump_directory_record_9_1 28 1 229
debug_dump_to_xml_volume_descriptor 106 7 728
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/iso9660_rrip.c
Function nameLOCCyclomatic complexityToken count
cd9660_susp_initialize 26 9 200
cd9660_susp_finalize 17 5 110
cd9660_susp_finalize_node 28 4 143
cd9660_rrip_finalize_node 29 7 144
cd9660_susp_handle_continuation_common 57 11 350
cd9660_susp_handle_continuation 8 2 50
cd9660_susp_initialize_node 13 3 74
cd9660_rrip_initialize_inode 28 9 215
cd9660_rrip_initialize_node 58 18 424
cd9660node_susp_create_node 15 1 125
cd9660_rrip_PL 6 1 51
cd9660_rrip_CL 6 1 51
cd9660_rrip_RE 6 1 51
cd9660_createSL 115 21 755
cd9660node_rrip_px 14 1 134
cd9660node_rrip_pn 14 2 131
cd9660node_rrip_nm 11 1 146
cd9660node_rrip_tf 16 1 187
cd9660_susp_sp 9 1 96
cd9660_susp_st 8 1 85
cd9660_susp_ce 6 1 51
cd9660_susp_pd 4 1 17
cd9660_rrip_add_NM 25 3 180
cd9660_rrip_NM 4 1 19
cd9660_susp_ER 30 1 390
cd9660_susp_ES 4 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_strings.c
Function nameLOCCyclomatic complexityToken count
cd9660_uppercase_characters 8 3 50
cd9660_is_d_char 6 4 33
cd9660_is_a_char 7 6 43
cd9660_valid_a_chars 15 4 73
cd9660_valid_d_chars 15 4 73
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_write.c
Function nameLOCCyclomatic complexityToken count
cd9660_write_image 45 8 242
cd9660_write_volume_descriptors 10 2 54
cd9660_write_path_table 41 5 283
cd9660_write_path_tables 10 3 55
cd9660_write_file 70 15 467
cd9660_write_filedata 15 4 117
cd9660_write_buffered 7 1 37
cd9660_copy_file 37 6 223
cd9660_write_rr 29 7 195
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/iso.h
Function nameLOCCyclomatic complexityToken count
isonum_711 4 1 13
isonum_712 4 1 17
isonum_721 6 2 35
isonum_722 6 2 36
isonum_723 6 3 42
isonum_731 6 2 52
isonum_732 6 2 53
isonum_733 6 3 62
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_conversion.c
Function nameLOCCyclomatic complexityToken count
cd9660_pad_even 5 1 18
cd9660_721 5 2 29
cd9660_731 5 2 29
cd9660_722 5 2 29
cd9660_732 5 2 29
cd9660_bothendian_dword 10 3 63
cd9660_bothendian_word 10 3 63
cd9660_pad_string_spaces 8 3 45
cd9660_compute_gm_offset 15 3 128
cd9660_time_8426 16 1 119
cd9660_time_915 12 1 94
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_eltorito.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_eltorito.c
Function nameLOCCyclomatic complexityToken count
cd9660_add_boot_disk 83 13 463
cd9660_eltorito_add_boot_option 30 10 198
cd9660_init_boot_catalog_entry 4 1 18
cd9660_boot_setup_validation_entry 28 2 207
cd9660_boot_setup_default_entry 22 2 161
cd9660_boot_setup_section_head 14 2 76
cd9660_boot_setup_section_entry 15 2 104
cd9660_boot_get_system_type 4 1 12
cd9660_setup_boot 88 14 489
cd9660_setup_boot_volume_descriptor 14 1 90
cd9660_write_mbr_partition_entry 25 2 239
cd9660_write_apm_partition_entry 32 2 318
cd9660_write_boot 69 8 513
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_rrip.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/makefs.c
Function nameLOCCyclomatic complexityToken count
main 104 25 605
set_option 15 3 97
set_option_var 43 12 247
get_fstype 8 3 60
copy_opts 8 2 58
get_tstamp 12 4 57
strsuftoll 9 4 76
usage 10 1 27
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos.c
Function nameLOCCyclomatic complexityToken count
msdos_prep_opts 10 1 55
msdos_cleanup_opts 5 1 22
msdos_parse_opts 19 5 148
msdos_makefs 38 9 306
msdos_populate_dir 50 11 328
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660.c
Function nameLOCCyclomatic complexityToken count
cd9660_allocate_cd9660node 13 1 94
cd9660_set_defaults 27 1 212
cd9660_prep_opts 27 1 159
cd9660_cleanup_opts 5 1 22
cd9660_arguments_set_string 25 6 132
cd9660_parse_opts 62 17 461
cd9660_makefs 77 10 456
cd9660_finalize_PVD 53 3 363
cd9660_populate_iso_dir_record 15 2 139
cd9660_setup_root_node 5 1 25
cd9660_setup_volume_descriptors 35 2 224
cd9660_fill_extended_attribute_record 5 1 26
cd9660_translate_node_common 20 4 154
cd9660_translate_node 15 5 108
cd9660_compare_filename 54 19 264
cd9660_sorted_child_insert 22 5 126
cd9660_handle_collisions 40 7 231
cd9660_rename_filename 79 17 463
cd9660_copy_filenames 15 3 95
cd9660_sorting_nodes 7 1 33
cd9660_sort_nodes 16 4 100
cd9660_count_collisions 25 6 140
cd9660_rrip_move_directory 36 6 252
cd9660_add_dot_records 14 2 78
cd9660_convert_structure 95 23 475
cd9660_free_structure 9 2 52
cd9660_generate_path_table 37 7 248
cd9660_compute_full_filename 15 3 85
cd9660_level1_convert_filename 41 14 231
cd9660_level2_convert_filename 47 15 261
cd9660_convert_filename 11 3 72
cd9660_compute_record_size 10 2 58
cd9660_populate_dot_records 27 2 238
cd9660_compute_offsets 75 9 439
cd9660_copy_stat_info 19 2 247
cd9660_create_virtual_entry 38 8 254
cd9660_create_file 15 3 115
cd9660_create_directory 15 3 117
cd9660_create_special_directory 35 8 221
cd9660_add_generic_bootimage 19 4 105
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/xmalloc.c
Function nameLOCCyclomatic complexityToken count
emalloc 7 2 34
ecalloc 7 2 39
erealloc 7 2 40
estrdup 7 2 36
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs.c
Function nameLOCCyclomatic complexityToken count
ffs_prep_opts 33 1 311
ffs_cleanup_opts 5 1 22
ffs_parse_opts 33 8 240
ffs_makefs 55 9 456
ffs_validate 77 29 672
ffs_create_image 54 11 339
ffs_size_dir 33 9 219
ffs_build_dinode1 36 6 320
ffs_build_dinode2 36 6 320
ffs_populate_dir 68 20 561
ffs_write_file 80 15 560
ffs_make_dirbuf 32 4 300
ffs_write_inode 71 10 583
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/walk.c
Function nameLOCCyclomatic complexityToken count
walk_dir 118 34 771
create_fsnode 22 2 180
free_fsnodes 35 11 229
inode_type 21 8 78
link_check 48 9 316
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/makefs.h
Source file: /home/sergeyb/sources/src/usr.sbin/eeprom/ophandlers.c
Function nameLOCCyclomatic complexityToken count
op_handler 71 18 524
op_notsupp 4 1 27
op_dump 47 10 418
op_print 14 2 74
Source file: /home/sergeyb/sources/src/usr.sbin/eeprom/optree.c
Function nameLOCCyclomatic complexityToken count
op_print 64 24 431
op_nodes 45 12 352
op_tree 8 2 52
Source file: /home/sergeyb/sources/src/usr.sbin/eeprom/defs.h
Source file: /home/sergeyb/sources/src/usr.sbin/eeprom/main.c
Function nameLOCCyclomatic complexityToken count
main 58 17 266
action 12 4 85
dump_prom 5 1 15
usage 7 1 20
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/iso_cksum.c
Function nameLOCCyclomatic complexityToken count
iso_cksum 27 6 151
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/hello.c
Function nameLOCCyclomatic complexityToken count
send_hello 62 15 432
recv_hello 98 34 749
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/ospfe.c
Function nameLOCCyclomatic complexityToken count
ospfe_sig_handler 10 3 37
ospfe 93 19 722
ospfe_shutdown 28 3 174
ospfe_imsg_compose_parent 4 1 38
ospfe_imsg_compose_rde 6 1 41
ospfe_dispatch_main 160 44 1023
ospfe_dispatch_rde 226 82 1406
find_vlink 16 4 111
orig_rtr_lsa_all 7 2 36
orig_rtr_lsa 7 2 41
orig_rtr_lsa_area 158 42 1055
orig_net_lsa 45 7 376
orig_link_lsa 74 13 556
ospfe_router_id 4 1 15
ospfe_fib_update 10 4 43
ospfe_iface_ctl 14 3 96
ospfe_nbr_ctl 18 2 127
ospfe_demote_area 14 4 98
ospfe_demote_iface 17 4 108
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/control.c
Function nameLOCCyclomatic complexityToken count
control_init 36 6 245
control_listen 12 2 78
control_cleanup 7 2 33
control_accept 34 9 268
control_connbyfd 9 2 42
control_connbypid 9 2 42
control_close 17 3 116
control_dispatch_imsg 92 33 577
control_imsg_relay 8 2 76
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/logmsg.c
Function nameLOCCyclomatic complexityToken count
log_in6addr 10 1 72
log_in6addr_scope 10 1 78
log_rtr_id 12 2 74
log_sockaddr 12 2 79
nbr_state_name 25 10 92
if_state_name 21 8 76
if_type_name 16 6 59
dst_type_name 10 3 35
path_type_name 14 5 51
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/rde.c
Function nameLOCCyclomatic complexityToken count
rde_sig_handler 10 3 37
rde 71 12 537
rde_shutdown 21 2 121
rde_imsg_compose_ospfe 6 1 41
rde_dispatch_imsg 303 84 2063
rde_dispatch_parent 181 48 1192
rde_dump_area 12 1 101
rde_router_id 4 1 15
rde_send_change_kroute 30 6 199
rde_send_delete_kroute 9 1 62
rde_send_summary 22 2 148
rde_send_summary_area 20 3 149
rde_nbr_init 21 5 161
rde_nbr_free 5 1 18
rde_nbr_find 11 2 52
rde_nbr_new 24 5 182
rde_nbr_del 9 2 41
rde_nbr_loading 22 7 110
rde_nbr_self 9 2 46
rde_req_list_add 10 2 79
rde_req_list_exists 11 4 74
rde_req_list_del 13 4 85
rde_req_list_free 8 2 49
rde_asext_get 25 4 152
rde_asext_put 4 1 19
rde_summary_update 27 14 218
append_prefix_lsa 17 2 122
prefix_compare 18 4 121
prefix_tree_add 30 7 237
orig_intra_lsa_net 60 13 486
orig_intra_lsa_rtr 77 20 562
orig_intra_area_prefix_lsas 21 5 152
comp_asext 9 2 97
orig_asext_lsa 51 7 446
orig_sum_lsa 24 5 214
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/ospf6.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/rde_spf.c
Function nameLOCCyclomatic complexityToken count
spf_calc 108 24 716
rt_calc 126 26 987
asext_calc 77 17 528
spf_tree_clr 9 1 45
calc_nexthop_clear 8 2 47
calc_nexthop_add 12 3 87
calc_nexthop_lladdr 24 5 151
calc_nexthop_transit_nbr 20 7 141
calc_nexthop 39 9 225
cand_list_init 4 1 12
cand_list_add 15 5 96
cand_list_pop 8 2 42
cand_list_present 9 2 41
cand_list_clr 7 2 37
spf_timer 47 8 241
start_spf_timer 22 6 92
stop_spf_timer 5 2 27
start_spf_holdtimer 19 6 88
rt_init 4 1 12
rt_compare 16 6 115
rt_find 8 1 53
rt_insert 10 2 58
rt_remove 11 2 63
rt_invalidate 30 11 202
rt_nexthop_clear 8 2 49
rt_nexthop_add 31 4 213
rt_clear 6 2 32
rt_dump 52 13 300
rt_update 71 25 443
rt_lookup 18 7 119
get_rtr_link 27 6 197
get_net_link 16 4 112
linked 44 14 244
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/interface.c
Function nameLOCCyclomatic complexityToken count
if_fsm 57 16 374
if_init 5 1 20
if_find 9 2 42
if_findname 9 2 46
if_new 23 4 165
if_update 17 5 102
if_del 18 6 149
if_start 12 2 104
if_hello_timer 10 2 65
if_start_hello_timer 7 2 40
if_stop_hello_timer 5 2 27
if_wait_timer 5 1 28
if_start_wait_timer 8 2 48
if_stop_wait_timer 5 2 27
if_act_start 56 15 299
if_elect 10 4 74
if_act_elect 89 43 705
if_act_reset 50 11 260
if_to_ctl 60 7 530
if_set_recvbuf 8 2 40
if_join_group 29 7 152
if_leave_group 29 7 156
if_set_mcast 23 7 113
if_set_mcast_loop 11 2 56
if_set_ipv6_pktinfo 9 2 49
if_set_ipv6_checksum 11 2 64
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/name2id.c
Function nameLOCCyclomatic complexityToken count
rtlabel_name2id 4 1 20
rtlabel_id2name 4 1 18
rtlabel_id2tag 4 1 18
rtlabel_tag2id 4 1 18
rtlabel_tag 4 1 20
rtlabel_unref 4 1 15
_name2id 35 10 238
_id2name 10 3 56
_id2tag 10 3 56
_tag2id 10 3 56
_tag 9 3 50
_unref 17 5 100
_ref 11 3 50
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/lsack.c
Function nameLOCCyclomatic complexityToken count
send_ls_ack 20 5 134
recv_ls_ack 38 14 195
lsa_hdr_check 28 11 149
ls_ack_list_add 17 5 118
ls_ack_list_free 7 1 43
ls_ack_list_clr 10 2 62
ls_ack_list_empty 4 1 20
ls_ack_tx_timer 52 13 327
start_ls_ack_tx_timer 8 2 50
start_ls_ack_tx_timer_now 7 2 40
stop_ls_ack_tx_timer 5 2 27
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/rde.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/carp.c
Function nameLOCCyclomatic complexityToken count
carp_group_find 8 2 44
carp_demote_init 25 7 162
carp_demote_shutdown 11 4 73
carp_demote_get 21 4 140
carp_demote_set 18 7 118
carp_demote_ioctl 21 5 154
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/packet.c
Function nameLOCCyclomatic complexityToken count
gen_ospf_hdr 13 2 98
upd_ospf_hdr 11 3 83
send_packet 24 6 166
recv_packet 105 22 646
ospf_hdr_sanity_check 44 12 280
find_iface 22 6 128
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/lsupdate.c
Function nameLOCCyclomatic complexityToken count
lsa_flood 81 30 501
prepare_ls_update 23 6 153
add_ls_update 20 4 149
send_ls_update 17 2 116
recv_ls_update 54 17 301
ls_retrans_list_add 21 5 159
ls_retrans_list_del 13 5 104
ls_retrans_list_get 11 4 86
ls_retrans_list_insert 17 2 101
ls_retrans_list_remove 21 8 163
ls_retrans_list_free 6 1 35
ls_retrans_list_clr 7 2 43
ls_retrans_timer 74 18 523
lsa_cache_init 13 4 99
lsa_hash_hdr 4 1 25
lsa_cache_add 24 4 193
lsa_cache_get 8 2 35
lsa_cache_put 11 3 78
lsa_cache_look 11 2 76
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/ospf6d.c
Function nameLOCCyclomatic complexityToken count
main_sig_handler 16 5 62
usage 8 1 26
main 129 26 827
ospfd_shutdown 28 9 177
main_dispatch_ospfe 66 22 361
main_dispatch_rde 51 17 284
main_imsg_compose_ospfe 6 2 43
main_imsg_compose_rde 6 2 43
imsg_event_add 9 2 73
imsg_compose_event 9 2 70
ospf_redistribute 64 28 383
ospf_reload 19 6 142
ospf_sendboth 8 3 78
merge_config 72 17 509
merge_interfaces 57 12 422
iface_lookup 8 2 50
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/area.c
Function nameLOCCyclomatic complexityToken count
area_new 10 2 68
area_del 20 5 148
area_find 10 2 55
area_track 12 5 71
area_border_router 9 2 48
area_ospf_options 7 3 32
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/ospfe.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/util.c
Function nameLOCCyclomatic complexityToken count
embedscope 14 3 105
recoverscope 14 3 100
addscope 10 3 54
clearscope 7 2 36
mask2prefixlen 39 11 175
prefixlen2mask 12 3 80
inet6applymask 13 4 118
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/neighbor.c
Function nameLOCCyclomatic complexityToken count
nbr_fsm 95 27 547
nbr_init 24 5 186
nbr_new 47 5 368
nbr_del 20 6 158
nbr_find_peerid 11 2 52
nbr_find_id 9 2 52
nbr_itimer 8 2 42
nbr_start_itimer 8 2 50
nbr_stop_itimer 5 2 27
nbr_reset_itimer 8 2 50
nbr_adj_timer 11 4 69
nbr_start_adj_timer 8 2 46
nbr_act_reset_itimer 5 1 19
nbr_act_start_itimer 5 1 19
nbr_adj_ok 19 9 82
nbr_act_eval 14 2 68
nbr_act_snapshot 13 2 75
nbr_act_exchange_done 14 6 76
nbr_act_adj_ok 11 3 56
nbr_act_restart_dd 15 2 78
nbr_act_delete 16 3 97
nbr_act_clear_lists 9 1 39
nbr_act_hello_check 5 1 27
nbr_to_ctl 43 7 386
lsa_hdr_new 7 2 42
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/lsreq.c
Function nameLOCCyclomatic complexityToken count
send_ls_req 44 12 294
recv_ls_req 23 10 102
ls_req_list_add 11 3 77
ls_req_list_get 11 4 80
ls_req_list_free 17 7 117
ls_req_list_clr 11 2 68
ls_req_list_empty 4 1 20
ls_req_tx_timer 30 12 135
start_ls_req_tx_timer 9 3 52
stop_ls_req_tx_timer 7 3 39
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/database.c
Function nameLOCCyclomatic complexityToken count
send_db_description 99 25 579
recv_db_description 135 37 780
db_sum_list_add 8 2 61
db_sum_list_next 9 2 58
db_sum_list_clr 5 1 20
db_tx_timer 29 12 131
start_db_tx_timer 9 3 52
stop_db_tx_timer 7 3 39
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/rde_lsdb.c
Function nameLOCCyclomatic complexityToken count
lsa_init 4 1 13
lsa_compare 16 7 112
vertex_get 23 3 191
vertex_free 7 1 43
lsa_newer 34 13 226
lsa_check 99 32 662
lsa_link_check 26 4 162
lsa_intra_a_pref_check 27 4 163
lsa_asext_check 46 11 293
lsa_self 4 1 20
lsa_flush 9 2 86
lsa_reflood 5 1 33
lsa_add 48 15 383
lsa_del 13 3 91
lsa_age 21 3 108
lsa_find 17 5 121
lsa_find_tree 15 4 93
lsa_find_rtr 4 1 22
lsa_find_rtr_frag 31 8 161
lsa_find_lsid 31 7 228
lsa_num_links 21 4 145
lsa_snap 25 6 164
lsa_dump 51 19 241
lsa_timeout 32 9 252
lsa_refresh 24 5 205
lsa_merge 36 8 252
lsa_remove_invalid_sums 15 7 115
lsa_equal 13 7 117
lsa_get_prefix 28 6 199
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/ospf6d.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/printconf.c
Function nameLOCCyclomatic complexityToken count
print_mainconf 14 3 81
print_no 7 2 24
print_redistribute 29 7 170
print_rtlabel 8 2 42
print_iface 15 3 106
print_config 18 2 102
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/kroute.c
Function nameLOCCyclomatic complexityToken count
kr_init 36 9 251
kr_change_fib 60 22 463
kr_change 10 4 83
kr_delete_fib 12 4 92
kr_delete 14 4 83
kr_shutdown 5 1 14
kr_fib_couple 13 4 86
kr_fib_decouple 13 4 86
kr_dispatch_msg 4 1 18
kr_show_route 41 9 253
kr_redist_remove 14 5 97
kr_redist_eval 33 15 211
kr_redistribute 23 6 153
kr_reload 16 6 90
kroute_compare 18 8 160
kroute_find 20 5 130
kroute_matchgw 10 4 62
kroute_insert 22 5 138
kroute_remove 38 9 262
kroute_clear 6 2 32
kif_update 25 7 183
kif_validate 9 3 58
kroute_match 14 4 97
protect_lo 14 3 107
get_rtaddrs 12 3 87
if_change 32 8 202
if_newaddr 61 22 409
if_deladdr 41 13 293
if_announce 23 5 132
send_rtmsg 103 12 827
fetchtable 109 23 722
fetchifs 60 10 430
dispatch_rtmsg 217 52 1332
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/dvmrp.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/route.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/config.c
Function nameLOCCyclomatic complexityToken count
config_vifs_from_kernel 66 14 462
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/vif.c
Function nameLOCCyclomatic complexityToken count
init_vifs 52 13 342
init_installvifs 22 5 156
check_vif_state 34 7 195
send_probe_on_vif 25 6 168
start_vif 5 1 23
start_vif2 26 4 174
stop_vif 32 6 212
stop_all_vifs 25 5 146
find_vif 27 13 191
age_old_hosts 10 4 68
query_groups 14 4 79
accept_membership_query 18 5 110
accept_group_report 46 11 296
accept_leave_message 38 10 248
probe_for_neighbors 10 3 58
accept_neighbor_request 59 12 423
accept_neighbor_request2 95 20 635
accept_info_request 28 5 172
info_version 13 2 78
accept_neighbors 6 1 43
accept_neighbors2 6 1 43
accept_info_reply 5 1 40
update_neighbor 123 34 839
age_vifs 38 11 259
neighbor_info 8 3 48
dump_vifs 88 21 669
DelVif 20 4 134
SetTimer 8 1 57
DeleteTimer 5 1 15
SendQuery 10 1 71
SetQueryTimer 9 1 67
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/rsrr.c
Function nameLOCCyclomatic complexityToken count
rsrr_init 14 4 125
rsrr_read 18 3 122
rsrr_accept 53 7 235
rsrr_accept_iq 30 4 199
rsrr_accept_rq 68 12 496
rsrr_send 13 3 75
rsrr_cache 39 7 302
rsrr_cache_send 18 4 117
rsrr_cache_clean 12 2 64
rsrr_clean 4 1 11
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/prune.c
Function nameLOCCyclomatic complexityToken count
prun_add_ttls 11 3 71
scoped_addr 8 3 54
grplst_mem 10 3 60
find_src_grp 24 11 167
pruning_neighbor 11 4 63
can_mtrace 11 4 63
find_prune_entry 9 3 38
send_prune 40 9 338
send_graft 27 5 218
send_graft_ack 17 3 152
update_kernel 6 2 39
init_ktable 6 1 18
add_table_entry 116 37 801
reset_neighbor_state 54 15 374
del_table_entry 95 19 569
update_table_entry 42 15 300
update_lclgrp 25 7 174
delete_lclgrp 34 12 241
accept_prune 100 23 725
chkgrp_graft 27 8 185
accept_graft 70 13 487
accept_g_ack 37 8 255
free_all_prunes 37 6 178
steal_sources 61 12 463
age_table_entry 146 36 924
expire_prune 18 4 129
scaletime 32 7 156
dump_cache 49 15 422
accept_mtrace 204 44 1466
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/kern.c
Function nameLOCCyclomatic complexityToken count
k_set_rcvbuf 6 2 43
k_hdr_include 6 3 43
k_set_ttl 8 2 50
k_set_loop 8 2 50
k_set_if 9 2 58
k_join 10 2 78
k_leave 10 2 78
k_init_dvmrp 9 4 66
k_stop_dvmrp 6 2 36
k_add_vif 13 2 102
k_del_vif 6 2 41
k_add_rg 17 7 146
k_del_rg 15 5 110
k_get_version 11 3 56
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/defs.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/main.c
Function nameLOCCyclomatic complexityToken count
register_input_handler 8 2 42
main 148 35 1011
fasttimer 29 7 143
timer 19 5 73
done 6 1 27
cleanup 11 3 39
dump 5 1 17
fdump 10 2 46
cdump 9 2 41
restart 24 2 137
resetlogging 14 3 71
logit 42 13 290
md_logit 17 3 115
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/rsrr_var.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/prune.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/igmp.c
Function nameLOCCyclomatic complexityToken count
init_igmp 22 2 149
packet_kind 39 28 199
accept_igmp 116 26 692
igmp_log_level 14 5 43
send_igmp 43 6 316
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/rsrr.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/inet.c
Function nameLOCCyclomatic complexityToken count
inet_valid_host 8 3 41
inet_valid_mask 7 2 38
inet_valid_subnet 24 11 146
inet_fmt 7 1 58
inet_fmts 21 6 213
inet_parse 14 6 133
inet_cksum 19 3 115
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/vif.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/route.c
Function nameLOCCyclomatic complexityToken count
init_routes 8 1 25
init_children_and_leaves 31 6 214
add_vif_to_routes 24 5 150
delete_vif_from_routes 25 5 148
delete_neighbor_from_routes 42 9 264
start_route_updates 4 1 10
find_route 19 7 108
create_route 29 6 258
discard_route 12 2 63
update_route 129 42 840
age_routes 46 15 264
expire_all_routes 9 2 45
free_all_routes 7 2 26
accept_probe 11 2 73
compare_rts 19 5 132
accept_report 77 20 636
report 59 17 474
report_to_all_neighbors 22 7 121
report_chunk 52 16 417
report_next_chunk 33 11 203
dump_routes 25 8 194
determine_route 9 3 49
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/callout.c
Function nameLOCCyclomatic complexityToken count
callout_init 4 1 15
age_callout_queue 26 6 111
timer_setTimer 44 7 226
timer_clearTimer 30 7 139
print_Q 6 2 42
secs_remaining 10 4 58
Source file: /home/sergeyb/sources/src/usr.sbin/slaacctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/slaacctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 24 6 152
match_token 48 20 294
show_valid_args 19 6 92
Source file: /home/sergeyb/sources/src/usr.sbin/slaacctl/slaacctl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 85 23 551
show_interface_msg 150 33 1061
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd_module.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 9 2 39
logit 7 1 38
vlog 50 10 346
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 3 43
fatal 12 3 61
fatalx 5 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/imsg_subr.c
Function nameLOCCyclomatic complexityToken count
imsg_sync_read 15 4 102
imsg_sync_flush 17 5 116
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd_bsdauth.c
Function nameLOCCyclomatic complexityToken count
main 117 25 725
module_bsdauth_main 35 8 236
module_bsdauth_config_set 39 8 243
module_bsdauth_userpass 70 12 550
fatal 5 1 22
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/util.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/imsg_subr.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd_module.c
Function nameLOCCyclomatic complexityToken count
module_create 14 2 96
module_start 10 4 94
module_run 8 2 38
module_destroy 5 1 22
module_load 12 3 83
module_drop_privilege 18 7 117
module_notify_secret 8 1 55
module_send_message 21 3 138
module_userpass_ok 13 1 109
module_userpass_fail 13 1 109
module_accsreq_answer 6 1 41
module_accsreq_aborted 8 1 52
module_common_radpkt 30 4 218
module_recv_imsg 24 8 152
module_imsg_handler 138 24 710
module_stop 8 3 45
module_on_event 27 9 148
module_reset_event 20 7 130
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/util.c
Function nameLOCCyclomatic complexityToken count
addrport_parse 38 7 231
addrport_tostring 21 6 142
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd.c
Function nameLOCCyclomatic complexityToken count
usage 6 1 25
main 69 21 480
radiusd_start 54 6 396
radiusd_stop 35 8 280
radiusd_free 35 2 273
radiusd_listen_on_event 170 37 1085
radius_query_request_decoration 13 3 80
radius_query_response_decoration 13 3 80
radiusd_access_request_answer 43 11 316
radiusd_access_request_aborted 9 3 60
radiusd_on_sigterm 6 1 31
radiusd_on_sigint 6 1 31
radiusd_on_sighup 4 1 19
radiusd_on_sigchld 35 7 186
radius_code_string 22 3 128
radiusd_conf_init 18 3 103
radiusd_access_response_fixup 62 9 438
radius_attr_hide 21 6 160
radius_attr_unhide 22 6 173
radiusd_find_query 9 2 48
radiusd_module_load 76 12 521
radiusd_module_start 39 6 243
radiusd_module_stop 11 2 71
radiusd_module_close 9 2 49
radiusd_module_unload 6 1 26
radiusd_module_on_imsg_io 27 11 157
radiusd_module_reset_ev_handler 26 8 168
radiusd_module_imsg_read 27 10 161
radiusd_module_imsg 91 18 493
radiusd_module_recv_radpkt 38 6 243
radiusd_module_set 82 12 553
radiusd_module_userpass 23 3 161
radiusd_module_access_request 46 7 329
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd_radius.c
Function nameLOCCyclomatic complexityToken count
main 19 3 125
module_radius_init 5 1 30
module_radius_config_set 72 15 541
module_radius_start 22 5 133
module_radius_stop 10 2 70
module_radius_access_request 39 5 245
radius_server_start 46 6 343
radius_server_stop 7 2 39
radius_server_on_event 69 12 449
radius_server_on_fail 23 2 185
module_radius_req_send 20 3 153
module_radius_req_reset_event 22 4 142
module_radius_req_on_timeout 20 4 130
module_radius_req_on_success 6 1 41
module_radius_req_on_failure 5 1 27
module_radius_req_free 8 2 51
module_radius_req_select_server 8 1 60
module_radius_req_reset_msgauth 9 3 55
module_radius_log 9 1 63
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/traphandler.c
Function nameLOCCyclomatic complexityToken count
traphandler 16 4 131
traphandler_init 14 3 101
traphandler_bind 18 5 141
traphandler_shutdown 8 1 39
traphandler_dispatch_parent 8 1 37
snmpd_dispatch_traphandler 10 2 50
traphandler_recvmsg 28 5 204
traphandler_parse 40 9 261
traphandler_v1translate 8 2 53
traphandler_priv_recvmsg 17 4 91
traphandler_fork_handler 37 8 293
trapcmd_exec 72 14 528
traphandler_hostname 11 3 78
trapcmd_lookup 9 2 63
trapcmd_cmp 12 2 57
trapcmd_add 4 1 24
trapcmd_free 7 1 38
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/ber.h
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 43
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/usm.c
Function nameLOCCyclomatic complexityToken count
usm_generate_keys 24 3 146
usm_get_md 12 4 38
usm_get_cipher 12 4 38
usm_newuser 13 3 82
usm_finduser 9 2 42
usm_checkuser 53 17 293
usm_decode 103 24 673
usm_encode 51 12 381
usm_cb_digest 5 1 24
usm_encrypt 24 5 157
usm_finalize_digest 21 8 170
usm_make_report 14 2 104
usm_valid_digest 21 6 173
usm_decrypt 24 5 157
usm_crypt 42 10 305
usm_passwd2key 39 8 306
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/ber.c
Function nameLOCCyclomatic complexityToken count
ber_get_element 9 2 53
ber_set_header 7 2 42
ber_link_elements 11 5 57
ber_unlink_elements 14 4 70
ber_replace_elements 9 1 55
ber_add_sequence 8 2 40
ber_add_set 8 2 40
ber_add_enumerated 22 9 150
ber_add_integer 22 9 150
ber_get_integer 7 2 36
ber_get_enumerated 7 2 36
ber_add_boolean 10 3 59
ber_get_boolean 7 2 40
ber_add_string 4 1 27
ber_add_nstring 17 3 106
ber_get_string 7 2 35
ber_get_nstring 8 2 46
ber_add_bitstring 17 3 104
ber_get_bitstring 8 2 46
ber_add_null 8 2 40
ber_get_null 6 2 24
ber_add_eoc 8 2 40
ber_get_eoc 6 2 24
ber_oid2ber 22 10 187
ber_string2oid 16 6 151
ber_add_oid 22 5 140
ber_add_noid 9 2 69
ber_add_oidstring 7 2 47
ber_get_oid 22 6 182
ber_printf_elements 101 32 583
ber_scanf_elements 128 37 697
ber_write_elements 21 7 155
ber_read_elements 15 5 83
ber_getpos 4 1 14
ber_free_elements 13 9 87
ber_calc_len 21 12 157
ber_dump_element 37 16 215
ber_dump_header 35 12 266
ber_putc 6 2 36
ber_write 6 2 45
get_id 26 6 173
get_len 32 8 174
ber_read_element 98 34 613
ber_readbuf 16 3 93
ber_set_readbuf 5 1 38
ber_get_writebuf 7 2 43
ber_set_application 4 1 27
ber_set_writecallback 6 1 37
ber_free 4 1 16
ber_getc 4 1 23
ber_read 23 7 140
ber_oid_cmp 19 6 123
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/snmpd.c
Function nameLOCCyclomatic complexityToken count
snmpd_sig_handler 57 19 309
usage 7 1 26
main 106 22 663
snmpd_shutdown 9 2 58
check_child 16 4 84
snmpd_dispatch_snmpe 9 2 40
snmpd_socket_af 20 3 119
snmpd_generate_engineid 16 1 163
snmpd_engine_time 6 1 23
tohexstr 14 3 108
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/timer.c
Function nameLOCCyclomatic complexityToken count
timer_cpu 21 5 198
timer_init 26 10 259
percentages 20 5 155
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 49 10 371
control_listen 14 3 96
control_cleanup 7 2 35
control_accept 48 11 362
control_close 19 3 165
control_dispatch_imsg 106 32 649
purge_registered_oids 10 3 59
control_dispatch_agentx 243 77 1261
control_imsg_forward 9 2 68
control_event_add 6 1 62
imsg_read_nofd 14 3 98
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/pf.c
Function nameLOCCyclomatic complexityToken count
pf_init 5 2 27
pf_get_stats 10 2 55
pfr_get_astats 19 7 134
pfr_get_tstats 19 7 136
pfr_buf_grow 29 10 197
pfr_buf_next 15 5 116
pfi_get_ifaces 23 8 163
pfi_get 14 4 95
pfi_count 14 2 68
pfi_get_if 22 4 118
pft_get 14 4 97
pft_get_table 24 5 131
pft_count 17 3 83
pfta_get 15 4 99
pfta_get_addr 33 9 239
pfta_get_nextaddr 38 9 264
pfta_get_first 30 7 190
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/snmpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/smi.c
Function nameLOCCyclomatic complexityToken count
smi_getticks 13 3 84
smi_oidlen 7 3 41
smi_scalar_oidlen 6 2 27
smi_oid2string 26 7 218
smi_string2oid 27 9 232
smi_delete 14 4 108
smi_insert 13 4 107
smi_mibtree 25 6 183
smi_init 6 1 21
smi_find 4 1 22
smi_findkey 8 2 43
smi_next 4 1 22
smi_foreach 18 9 111
smi_debug_elements 166 50 724
smi_print_element 71 27 451
smi_application 18 8 67
smi_oid_cmp 13 7 124
smi_key_cmp 6 3 48
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/agentx.c
Function nameLOCCyclomatic complexityToken count
snmp_agentx_alloc 11 2 69
snmp_agentx_open 21 5 161
snmp_agentx_fdopen 16 6 112
snmp_agentx_close 13 4 91
snmp_agentx_free 17 5 114
snmp_agentx_pdu_alloc 21 3 166
snmp_agentx_response 10 3 64
snmp_agentx_read_response 10 3 77
snmp_agentx_open_response 7 2 47
snmp_agentx_pdu_free 6 1 28
snmp_agentx_buffer_consume 10 2 68
snmp_agentx_send 30 8 228
snmp_agentx_recv 88 25 599
snmp_agentx_request 17 7 101
agentx_find_inflight 8 3 56
snmp_agentx_buffercheck 18 5 145
snmp_agentx_open_pdu 24 6 160
snmp_agentx_close_pdu 15 3 98
snmp_agentx_notify_pdu 13 3 79
snmp_agentx_response_pdu 16 3 100
snmp_agentx_ping_pdu 9 2 49
snmp_agentx_register_pdu 21 6 144
snmp_agentx_unregister_pdu 22 7 151
snmp_agentx_get_pdu 19 5 128
snmp_agentx_getnext_pdu 19 5 128
snmp_agentx_raw 10 2 70
snmp_agentx_int 4 1 29
snmp_agentx_int64 4 1 29
snmp_agentx_octetstring 13 4 105
snmp_agentx_oid 25 10 197
snmp_agentx_varbind 33 16 195
snmp_agentx_read_vbhdr 9 3 64
snmp_agentx_copy_raw 4 1 30
snmp_agentx_read_raw 4 1 30
snmp_agentx_do_read_raw 9 3 63
snmp_agentx_read_int 8 3 61
snmp_agentx_read_int64 8 3 61
snmp_agentx_read_oid 5 1 30
snmp_agentx_do_read_oid 23 5 173
snmp_agentx_read_searchrange 7 3 58
snmp_agentx_read_octetstr 15 4 92
snmp_agentx_ping 13 4 85
snmp_agentx_update_ids 5 1 34
snmp_oid2string 13 3 103
snmp_oid_cmp 19 6 123
snmp_oid_increment 9 3 54
snmp_agentx_type2name 26 2 73
snmp_agentx_dump_hdr 19 3 121
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/util.c
Function nameLOCCyclomatic complexityToken count
varbind_convert 96 31 450
sendtofrom 46 3 337
recvfromto 61 11 432
print_debug 9 2 45
print_verbose 9 2 43
log_in6addr 19 3 157
print_host 9 2 63
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/snmp.h
Function nameLOCCyclomatic complexityToken count
snmp_agentx_byteorder_native 4 1 22
snmp_agentx_byteorder_native 4 1 22
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/proc.c
Function nameLOCCyclomatic complexityToken count
proc_ispeer 9 3 55
proc_getid 13 3 75
proc_exec 52 11 398
proc_connect 24 9 191
proc_init 42 11 301
proc_accept 24 4 185
proc_setup 42 13 451
proc_kill 30 11 180
proc_open 34 10 319
proc_close 21 6 171
proc_shutdown 11 4 76
proc_sig_handler 17 7 63
proc_run 64 17 574
proc_dispatch 66 16 439
proc_dispatch_null 4 1 23
imsg_event_add 13 3 95
imsg_compose_event 10 2 75
imsg_composev_event 10 2 77
proc_range 9 2 57
proc_compose_imsg 12 3 106
proc_compose 5 1 48
proc_composev_imsg 11 3 106
proc_composev 5 1 50
proc_forward_imsg 6 1 58
proc_ibuf 6 1 48
proc_iev 6 1 46
proc_flush_imsg 17 6 126
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/mib.c
Function nameLOCCyclomatic complexityToken count
mib_getsys 63 17 402
mib_sysor 40 10 263
mib_getsnmp 57 5 444
mib_setsnmp 9 3 70
mib_engine 21 5 113
mib_usmstats 25 3 192
mib_hrsystemuptime 14 2 118
mib_hrsystemdate 27 2 215
mib_hrsystemprocs 30 6 207
mib_hrmemory 11 2 96
mib_hrstorage 105 20 670
mib_hrdevice 47 9 292
mib_hrprocessor 29 7 197
mib_hrswrun 58 18 310
kinfo_proc_comp 6 2 56
kinfo_proc 46 10 307
kinfo_args 37 9 240
mib_ifnumber 5 1 37
mib_ifget 19 6 113
mib_iftable 134 32 893
mib_ifxtable 92 24 589
mib_ifstacklast 7 1 52
mib_ifrcvtable 31 6 238
mib_pfinfo 31 7 198
mib_pfcounters 39 4 348
mib_pfscounters 33 5 227
mib_pflogif 41 5 384
mib_pfsrctrack 33 5 226
mib_pflimits 34 5 224
mib_pftimeouts 47 5 298
mib_pfifnum 8 2 57
mib_pfiftable 98 24 744
mib_pftablenum 8 2 57
mib_pftables 108 26 761
mib_pftableaddrs 80 18 600
mib_pftableaddrstable 40 6 342
mib_pflabelnum 24 5 158
mib_pflabels 74 17 487
mib_pfsyncstats 43 4 333
mib_sensornum 21 5 141
mib_sensors 79 21 503
mib_sensorunit 7 2 34
mib_sensorvalue 50 25 281
mib_carpsysctl 12 2 102
mib_carpstats 41 4 317
mib_carpifnum 11 3 78
mib_carpifget 42 11 317
mib_carpiftable 38 9 260
mib_memiftable 23 4 147
mib_ipforwarding 10 3 100
mib_ipdefaultttl 10 2 92
mib_getipstat 6 1 55
mib_ipstat 32 4 238
mib_ipinhdrerrs 15 2 107
mib_ipinaddrerrs 11 2 79
mib_ipforwdgrams 11 2 79
mib_ipindiscards 4 1 24
mib_ipreasmfails 11 2 79
mib_ipfragfails 11 2 79
mib_iproutingdiscards 5 1 24
mib_ipaddrtable 38 6 334
mib_ipaddr 42 10 306
mib_physaddrtable 59 13 494
mib_physaddr 51 10 354
mib_ipfnroutes 6 1 47
mib_ipfroutetable 74 8 543
mib_ipfroute 96 24 514
mib_diskio 64 13 476
mib_dot1dtable 26 7 160
mib_init 13 1 56
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/mps.c
Function nameLOCCyclomatic complexityToken count
mps_getstr 8 2 55
mps_setstr 18 6 141
mps_getint 5 1 37
mps_setint 8 2 54
mps_getts 6 1 47
mps_getreq 46 12 330
mps_setreq 17 5 131
mps_getnextreq 87 26 593
mps_getbulkreq 37 8 207
mps_set 16 3 114
mps_table 32 6 278
mps_encodeinaddr 15 3 144
mps_decodeinaddr 12 2 121
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/trap.c
Function nameLOCCyclomatic complexityToken count
trap_init 5 1 23
trap_agentx 78 16 465
trap_send 77 13 578
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/snmpe.c
Function nameLOCCyclomatic complexityToken count
snmpe 20 6 180
snmpe_init 16 3 109
snmpe_shutdown 4 1 10
snmpe_dispatch_parent 8 1 37
snmpe_bind 37 9 241
snmpe_parse 155 37 951
snmpe_parsevarbinds 109 33 677
snmpe_recvmsg 42 8 310
snmpe_dispatchmsg 7 2 31
snmpe_response 39 11 233
snmp_msgfree 9 3 52
snmpe_encode 42 11 294
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/mib.h
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/kroute.c
Function nameLOCCyclomatic complexityToken count
kr_init 39 12 313
ktable_init 7 3 36
ktable_new 35 7 244
ktable_free 11 2 62
ktable_get 6 2 26
ktable_update 18 7 98
ktable_exists 22 4 136
kr_shutdown 7 2 33
kr_ifnumber 4 1 13
kr_iflastchange 4 1 13
kr_updateif 4 1 15
kr_routenumber 4 1 13
kroute_compare 18 9 179
kroute6_compare 21 10 197
kif_compare 4 1 29
ka_compare 8 3 89
kroute_find 21 5 139
kroute_matchgw 15 4 79
kroute_insert 12 3 77
kroute_remove 36 9 265
kroute_clear 6 2 39
kroute6_find 21 5 150
kroute6_matchgw 15 4 98
kroute6_insert 12 3 77
kroute6_remove 38 9 269
kroute6_clear 6 2 39
karp_compare 10 3 86
karp_search 13 3 65
karp_find 17 4 115
karp_insert 19 5 125
karp_remove 10 3 74
karp_first 7 2 41
karp_getaddr 7 3 54
kif_find 9 2 61
kr_getif 8 2 38
kr_getnextif 11 4 65
kif_insert 14 3 97
kif_remove 20 4 131
kif_clear 8 2 46
kif_update 30 9 301
ka_insert 7 2 42
ka_find 9 2 75
ka_remove 6 1 29
kr_getaddr 4 1 17
kr_getnextaddr 9 3 53
prefixlen_classful 13 5 60
mask2prefixlen 7 2 32
prefixlen2mask 6 2 33
mask2prefixlen6 39 11 175
prefixlen2mask6 12 3 80
get_rtaddrs 12 3 87
if_change 6 2 44
if_newaddr 28 7 212
if_deladdr 17 4 98
if_announce 17 3 85
fetchtable 36 7 236
fetchifs 31 4 193
fetcharp 34 5 219
dispatch_rtmsg 14 3 80
rtmsg_process 65 19 390
dispatch_rtmsg_addr 245 74 1621
kroute_first 9 2 54
kroute_getaddr 14 5 99
Source file: /home/sergeyb/sources/src/usr.sbin/quotaon/quotaon.c
Function nameLOCCyclomatic complexityToken count
main 79 29 513
usage 5 1 22
quotaonoff 25 8 180
oneof 8 3 58
hasquota 33 11 247
readonly 20 7 125
Source file: /home/sergeyb/sources/src/usr.sbin/zic/zic.c
Function nameLOCCyclomatic complexityToken count
memcheck 6 2 24
ecatalloc 9 1 58
eats 7 1 36
eat 4 1 24
error 10 2 49
warning 9 1 42
scheck 42 16 279
usage 8 1 21
main 84 32 512
dolink 32 9 207
setboundaries 8 2 42
itsdir 10 1 51
rcomp 5 1 42
associate 64 19 491
infile 72 20 414
gethms 35 14 249
inrule 23 4 181
inzone 43 10 276
inzcont 8 3 41
inzsub 68 17 438
inleap 93 23 562
inlink 22 4 127
rulesub 126 29 773
convert 7 2 48
convert64 7 2 48
puttzcode 6 1 36
puttzcode64 6 1 36
atcomp 6 2 62
is32 4 2 16
writezone 245 82 1827
doabbr 33 12 241
updateminmax 7 3 27
stringoffset 30 6 198
stringrule 51 16 359
stringzone 73 29 542
outzone 207 61 1351
addtt 27 6 187
addtype 43 19 284
leapadd 27 10 190
adjleap 9 2 53
yearistype 21 6 126
itsabbr 14 5 89
byword 19 8 120
getfields 38 16 245
oadd 9 5 54
tadd 14 9 82
rpytime 68 20 395
newabbr 34 12 222
mkdirs 26 8 145
eitol 7 7 56
Source file: /home/sergeyb/sources/src/usr.sbin/mtrace/mtrace.c
Function nameLOCCyclomatic complexityToken count
inet_name 6 2 40
host_addr 33 9 212
proto_type 17 5 74
flag_type 27 10 114
get_netmask 30 9 188
get_ttl 19 6 117
t_diff 5 1 29
fixtime 7 2 60
byteswap 5 1 46
send_recv 154 48 1104
passive_mode 91 25 648
print_host 4 1 15
print_host2 13 5 90
print_trace 23 4 204
what_kind 51 11 341
scale 7 5 54
stat_line 78 28 670
fixup_stats 52 13 426
print_stats 76 15 710
main 384 135 2602
check_vif_state 4 1 15
logit 22 11 147
accept_probe 4 1 20
accept_group_report 4 1 16
accept_neighbor_request2 3 1 10
accept_report 4 1 20
accept_neighbor_request 3 1 10
accept_prune 3 1 17
accept_graft 3 1 17
accept_g_ack 3 1 17
add_table_entry 3 1 10
accept_leave_message 3 1 13
accept_mtrace 4 1 23
accept_membership_query 4 1 16
accept_neighbors 4 1 20
accept_neighbors2 4 1 20
accept_info_request 3 1 17
accept_info_reply 3 1 17
Source file: /home/sergeyb/sources/src/usr.sbin/vipw/vipw.c
Function nameLOCCyclomatic complexityToken count
main 41 11 262
copyfile 17 6 167
usage 6 1 28
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/lde.c
Function nameLOCCyclomatic complexityToken count
lde_sig_handler 10 3 37
lde 45 9 345
lde_shutdown 15 1 81
lde_imsg_compose_parent 4 1 38
lde_imsg_compose_ldpe 6 1 41
lde_dispatch_imsg 165 48 919
lde_dispatch_parent 159 39 1083
lde_assign_label 6 1 20
lde_send_change_klabel 55 8 445
lde_send_delete_klabel 54 7 442
lde_fec2map 25 4 204
lde_map2fec 29 5 208
lde_send_labelmapping 47 13 315
lde_send_labelwithdraw 58 15 404
lde_send_labelwithdraw_wcard 8 1 53
lde_send_labelwithdraw_twcard_prefix 11 1 78
lde_send_labelwithdraw_twcard_pwid 11 1 78
lde_send_labelwithdraw_pwid_wcard 11 1 76
lde_send_labelrelease 31 10 190
lde_send_notification 11 1 72
lde_send_notification_eol_prefix 12 1 94
lde_send_notification_eol_pwid 12 1 94
lde_nbr_compare 4 1 25
lde_nbr_new 20 3 151
lde_nbr_del 41 8 237
lde_nbr_find 6 1 31
lde_nbr_find_by_lsrid 8 2 44
lde_nbr_find_by_addr 8 2 49
lde_nbr_clear 6 2 30
lde_nbr_addr_update 36 7 191
lde_map_add 21 5 154
lde_map_del 8 2 53
lde_map_free 6 1 27
lde_req_add 17 5 117
lde_req_del 8 2 53
lde_wdraw_add 12 3 84
lde_wdraw_del 5 1 32
lde_change_egress_label 39 9 190
lde_address_add 13 3 109
lde_address_del 10 2 73
lde_address_find 9 3 65
lde_address_list_free 8 2 49
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/socket.c
Function nameLOCCyclomatic complexityToken count
ldp_create_socket 138 39 754
sock_set_recvbuf 8 2 40
sock_set_reuse 9 2 51
sock_set_bindany 9 2 51
sock_set_ipv4_tos 8 2 57
sock_set_ipv4_recvif 9 2 51
sock_set_ipv4_minttl 8 2 51
sock_set_ipv4_ucast_ttl 8 2 51
sock_set_ipv4_mcast_ttl 10 2 57
sock_set_ipv4_mcast 12 2 68
sock_set_ipv4_mcast_loop 10 2 57
sock_set_ipv6_dscp 9 2 51
sock_set_ipv6_pktinfo 9 2 51
sock_set_ipv6_minhopcount 9 2 51
sock_set_ipv6_ucast_hops 9 2 51
sock_set_ipv6_mcast_hops 9 2 51
sock_set_ipv6_mcast 10 2 62
sock_set_ipv6_mcast_loop 10 2 54
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 8 2 36
log_verbose 4 1 11
logit 7 1 38
vlog 15 3 90
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 43
fatal 14 3 67
fatalx 5 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/ldpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/ldpe.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/keepalive.c
Function nameLOCCyclomatic complexityToken count
send_keepalive 12 2 73
recv_keepalive 12 3 82
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/hello.c
Function nameLOCCyclomatic complexityToken count
send_hello 83 16 483
recv_hello 195 67 1177
gen_hello_prms_tlv 10 1 96
gen_opt4_hello_prms_tlv 9 1 77
gen_opt16_hello_prms_tlv 9 1 89
gen_ds_hello_prms_tlv 8 2 50
tlv_decode_hello_prms 15 4 118
tlv_decode_opt_hello_prms 71 18 444
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 36 6 253
control_listen 8 2 45
control_cleanup 6 1 23
control_accept 29 8 223
control_connbyfd 9 2 42
control_connbypid 9 2 42
control_close 14 2 90
control_dispatch_imsg 94 29 588
control_imsg_relay 8 2 76
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/logmsg.c
Function nameLOCCyclomatic complexityToken count
log_sockaddr 12 2 79
log_in6addr 10 1 64
log_in6addr_scope 10 1 70
log_addr 18 4 111
log_label 25 6 116
log_hello_src 15 3 90
log_map 48 14 343
log_fec 29 7 208
af_name 13 4 44
socket_name 13 4 44
nbr_state_name 17 6 60
if_state_name 11 3 36
if_type_name 10 3 35
msg_name 32 13 132
status_code_name 85 39 345
pw_type_name 15 4 65
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/ldpd.c
Function nameLOCCyclomatic complexityToken count
main_sig_handler 16 5 62
usage 7 1 26
main 132 32 851
ldpd_shutdown 26 9 166
start_child 40 10 207
main_dispatch_ldpe 72 24 387
main_dispatch_lde 69 25 392
main_imsg_compose_ldpe 6 2 43
main_imsg_compose_lde 4 1 35
main_imsg_compose_both 8 3 78
imsg_event_add 9 2 73
imsg_compose_event 9 2 70
evbuf_enqueue 5 1 29
evbuf_event_add 5 2 27
evbuf_init 7 1 66
evbuf_clear 6 1 34
main_imsg_send_ipc_sockets 14 4 113
main_imsg_send_net_sockets 7 1 46
main_imsg_send_net_socket 12 2 73
ldp_af_conf_get 11 3 47
ldp_af_global_get 11 3 47
ldp_is_dual_stack 5 2 32
main_imsg_send_config 45 9 310
ldp_reload 10 3 58
merge_config 11 1 84
merge_global 27 9 162
merge_af 48 16 279
merge_ifaces 25 5 188
merge_iface_af 10 3 67
merge_tnbrs 32 7 227
merge_nbrps 68 21 488
merge_l2vpns 40 9 209
merge_l2vpn 118 35 764
config_new_empty 12 2 72
config_clear 12 1 72
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/address.c
Function nameLOCCyclomatic complexityToken count
send_address 57 11 326
send_address_single 7 1 51
send_address_all 14 2 81
send_mac_withdrawal 26 4 170
recv_address 118 19 744
gen_address_list_tlv 32 5 199
gen_mac_list_tlv 13 3 90
address_list_add 9 2 56
address_list_clr 8 2 41
log_msg_address 6 2 55
log_msg_mac_withdrawal 6 3 52
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/interface.c
Function nameLOCCyclomatic complexityToken count
if_new 29 5 227
if_exit 13 4 89
if_lookup 8 2 47
iface_af_get 11 3 47
if_addr_new 11 2 75
if_addr_lookup 11 4 86
if_addr_add 29 11 208
if_addr_del 32 11 210
if_start 26 5 152
if_reset 24 6 145
if_update_af 41 19 237
if_update 10 6 72
if_update_all 6 1 30
if_hello_timer 6 1 35
if_start_hello_timer 8 2 48
if_stop_hello_timer 6 3 37
if_to_ctl 26 3 196
if_get_ipv4_addr 8 2 49
if_join_ipv4_group 15 2 112
if_leave_ipv4_group 15 2 113
if_join_ipv6_group 15 2 103
if_leave_ipv6_group 15 2 107
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/ldpe.c
Function nameLOCCyclomatic complexityToken count
ldpe_sig_handler 10 3 37
ldpe 67 14 536
ldpe_shutdown 30 4 197
ldpe_imsg_compose_parent 4 1 38
ldpe_imsg_compose_lde 6 1 41
ldpe_dispatch_main 240 63 1510
ldpe_dispatch_lde 122 42 632
ldpe_dispatch_pfkey 8 3 41
ldpe_setup_sockets 16 1 120
ldpe_close_sockets 22 6 140
ldpe_reset_nbrs 8 2 42
ldpe_reset_ds_nbrs 8 2 39
ldpe_remove_dynamic_tnbrs 10 2 51
ldpe_stop_init_backoff 10 3 48
ldpe_iface_af_ctl 16 4 108
ldpe_iface_ctl 5 1 31
ldpe_adj_ctl 21 2 156
ldpe_nbr_ctl 11 1 83
mapping_list_add 9 2 59
mapping_list_clr 8 2 43
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/packet.c
Function nameLOCCyclomatic complexityToken count
gen_ldp_hdr 10 1 78
gen_msg_hdr 10 1 84
send_packet 34 10 213
disc_recv_packet 110 24 737
disc_find_iface 44 11 231
session_accept 44 12 255
session_accept_nbr 28 8 161
session_read 146 37 804
session_write 15 7 102
session_shutdown 20 7 101
session_close 9 1 45
session_get_pdu 22 5 160
tcp_new 17 4 136
tcp_close 13 2 74
pending_conn_new 17 3 129
pending_conn_del 8 3 54
pending_conn_find 9 3 60
pending_conn_timeout 11 1 82
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/ldp.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/pfkey.c
Function nameLOCCyclomatic complexityToken count
pfkey_send 169 26 1243
pfkey_read 23 10 147
pfkey_reply 53 11 323
pfkey_sa_add 15 5 158
pfkey_sa_remove 11 3 94
pfkey_md5sig_establish 16 5 144
pfkey_md5sig_remove 17 5 152
pfkey_establish 15 3 97
pfkey_remove 12 4 61
pfkey_init 13 3 66
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/labelmapping.c
Function nameLOCCyclomatic complexityToken count
enqueue_pdu 7 1 58
send_labelmessage 55 14 397
recv_labelmessage 259 61 1334
gen_label_tlv 8 1 59
tlv_decode_label 39 12 267
gen_reqid_tlv 8 1 59
gen_pw_status_tlv 8 1 59
len_fec_tlv 36 10 151
gen_fec_tlv 113 19 854
tlv_decode_fec_elm 185 28 1373
log_msg_mapping 6 2 57
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/adjacency.c
Function nameLOCCyclomatic complexityToken count
adj_new 24 4 161
adj_del_single 18 4 106
adj_del 12 3 82
adj_find 21 6 117
adj_get_af 11 3 56
adj_itimer 14 4 102
adj_start_itimer 8 2 48
adj_stop_itimer 6 3 37
tnbr_new 12 2 100
tnbr_del 8 2 41
tnbr_find 9 3 65
tnbr_check 9 3 47
tnbr_update 25 9 143
tnbr_update_all 7 3 40
tnbr_hello_timer 6 1 35
tnbr_start_hello_timer 8 2 48
tnbr_stop_hello_timer 6 3 37
adj_to_ctl 19 3 121
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/util.c
Function nameLOCCyclomatic complexityToken count
mask2prefixlen 7 2 32
mask2prefixlen6 39 11 175
prefixlen2mask 6 2 33
prefixlen2mask6 12 3 82
ldp_applymask 24 6 167
ldp_addrcmp 13 5 107
ldp_addrisset 18 6 80
ldp_prefixcmp 38 11 292
bad_addr_v4 9 5 62
bad_addr_v6 11 7 51
bad_addr 11 3 52
embedscope 14 3 106
recoverscope 13 3 100
addscope 8 3 52
clearscope 7 2 36
addr2sa 24 3 159
sa2addr 18 3 106
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/neighbor.c
Function nameLOCCyclomatic complexityToken count
nbr_id_compare 4 1 35
nbr_addr_compare 8 3 65
nbr_pid_compare 4 1 25
nbr_fsm 77 20 426
nbr_new 54 12 427
nbr_del 22 3 151
nbr_update_peerid 11 4 65
nbr_find_ldpid 6 1 33
nbr_find_addr 7 1 43
nbr_find_peerid 6 1 31
nbr_adj_count 9 2 50
nbr_session_active_role 6 2 40
nbr_ktimer 6 1 31
nbr_start_ktimer 8 2 55
nbr_stop_ktimer 6 3 37
nbr_ktimeout 6 1 46
nbr_start_ktimeout 8 2 48
nbr_stop_ktimeout 6 3 37
nbr_itimeout 6 1 42
nbr_start_itimeout 8 2 46
nbr_stop_itimeout 6 3 37
nbr_idtimer 6 1 40
nbr_start_idtimer 20 5 92
nbr_stop_idtimer 6 3 37
nbr_pending_idtimer 6 2 31
nbr_pending_connect 7 3 41
nbr_connect_cb 19 3 116
nbr_establish_connection 62 13 480
nbr_gtsm_enabled 10 6 82
nbr_gtsm_setup 25 9 148
nbr_gtsm_check 23 5 119
nbr_act_session_operational 13 1 91
nbr_send_labelmappings 5 1 24
nbr_params_new 9 2 56
nbr_params_find 8 2 51
nbr_get_keepalive 8 3 58
nbr_to_ctl 16 2 101
nbr_clear_ctl 12 3 88
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/l2vpn.c
Function nameLOCCyclomatic complexityToken count
l2vpn_new 12 2 87
l2vpn_find 8 2 53
l2vpn_del 14 3 84
l2vpn_init 6 1 30
l2vpn_exit 6 1 30
l2vpn_if_new 12 2 96
l2vpn_if_find 8 2 47
l2vpn_if_update 21 4 154
l2vpn_pw_new 10 2 80
l2vpn_pw_find 8 2 47
l2vpn_pw_init 8 1 54
l2vpn_pw_exit 6 1 41
l2vpn_pw_fec 8 1 71
l2vpn_pw_reset 14 3 69
l2vpn_pw_ok 34 10 234
l2vpn_pw_negotiate 32 11 240
l2vpn_send_pw_status 12 1 87
l2vpn_send_pw_status_wcard 15 1 110
l2vpn_recv_pw_status 29 8 196
l2vpn_recv_pw_status_wcard 39 12 260
l2vpn_sync_pws 26 6 169
l2vpn_pw_ctl 17 1 120
l2vpn_binding_ctl 42 9 311
ldpe_l2vpn_init 6 1 30
ldpe_l2vpn_exit 6 1 30
ldpe_l2vpn_pw_init 11 2 76
ldpe_l2vpn_pw_exit 9 2 46
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/accept.c
Function nameLOCCyclomatic complexityToken count
accept_init 5 1 26
accept_add 14 2 127
accept_del 12 2 64
accept_pause 7 1 36
accept_unpause 8 2 37
accept_arm 6 1 32
accept_unarm 6 1 30
accept_cb 6 1 44
accept_timeout 5 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/notification.c
Function nameLOCCyclomatic complexityToken count
send_notification_full 35 10 269
send_notification 10 1 61
send_notification_rtlvs 16 2 111
recv_notification 123 26 746
gen_status_tlv 12 1 87
gen_returned_tlvs 15 1 114
log_msg_notification 18 6 133
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/init.c
Function nameLOCCyclomatic complexityToken count
send_init 23 3 151
recv_init 126 23 812
send_capability 30 6 168
recv_capability 86 16 505
gen_init_prms_tlv 15 1 123
gen_cap_dynamic_tlv 9 1 63
gen_cap_twcard_tlv 10 2 70
gen_cap_unotif_tlv 10 2 70
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/printconf.c
Function nameLOCCyclomatic complexityToken count
print_mainconf 17 5 95
print_af 30 7 193
print_iface 7 1 46
print_tnbr 7 1 49
print_nbrp 17 6 102
print_l2vpn 18 3 114
print_pw 16 3 99
print_config 14 3 100
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/lde_lib.c
Function nameLOCCyclomatic complexityToken count
fec_init 4 1 14
fec_compare 50 20 478
fec_find 4 1 26
fec_insert 6 2 38
fec_remove 8 2 52
fec_clear 8 2 51
lde_nbr_is_nexthop 8 2 56
rt_dump 42 6 281
fec_snap 17 3 104
fec_free 14 4 96
fec_tree_clear 4 1 14
fec_add 16 3 106
fec_nh_find 11 4 74
fec_nh_add 14 2 91
fec_nh_del 5 1 21
egress_label 16 5 66
lde_kernel_insert 44 11 300
lde_kernel_remove 24 5 165
lde_check_mapping 64 19 446
lde_check_request 38 9 250
lde_check_request_wcard 34 8 213
lde_check_release 24 12 211
lde_check_release_wcard 20 8 172
lde_check_withdraw 42 16 293
lde_check_withdraw_wcard 38 12 244
lde_wildcard_apply 39 17 257
lde_gc_timer 19 5 123
lde_gc_start_timer 8 2 41
lde_gc_stop_timer 6 3 30
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/lde.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/kroute.c
Function nameLOCCyclomatic complexityToken count
kif_init 6 2 26
kr_init 47 10 363
kif_redistribute 14 4 93
kr_change 34 9 275
kr_delete 30 10 236
kr_shutdown 6 1 18
kr_fib_couple 29 7 192
kr_fib_decouple 34 7 215
kr_change_egress_label 30 6 141
kr_dispatch_msg 5 2 28
kr_show_route 43 8 288
kr_ifinfo 10 3 75
kr_redist_remove 7 2 44
kr_redist_eval 32 13 198
kr_redistribute 14 2 89
kroute_compare 16 6 114
kroute_find_prefix 8 1 52
kroute_find_prio 10 3 63
kroute_find_gw 8 2 62
kroute_insert 44 9 314
kroute_uninstall 8 3 51
kroute_remove 37 7 255
kroute_clear 20 4 137
kif_compare 4 1 29
kif_find 7 1 47
kif_findname 8 2 49
kif_insert 11 3 77
kif_remove 15 3 105
kif_clear 6 2 32
kif_update 28 9 253
kroute_match 28 6 141
prefixlen_classful 13 5 60
get_rtaddrs 12 3 87
if_change 26 5 188
if_newaddr 53 13 383
if_deladdr 58 15 416
if_announce 19 5 93
send_rtmsg 11 3 67
send_rtmsg_v4 105 16 800
send_rtmsg_v6 4 1 23
fetchtable 30 4 191
fetchifs 29 4 182
dispatch_rtmsg 16 5 98
rtmsg_process 72 22 450
rtmsg_process_route 109 34 772
kmpw_set 14 3 93
kmpw_unset 17 3 102
kmpw_install 32 5 218
kmpw_uninstall 14 2 101
Source file: /home/sergeyb/sources/src/usr.sbin/identd/identd.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 124 34 718
parent_rd 47 13 251
parent_username 4 1 31
parent_uid 4 1 34
parent_token 15 3 86
parent_noident 14 4 92
parent_wr 34 8 236
child_rd 68 14 398
child_wr 33 9 202
identd_listen 44 9 343
identd_paused 5 1 31
identd_accept 42 9 302
identd_timeout 11 2 61
identd_request 53 16 335
identd_error 15 2 116
identd_close 9 1 53
identd_resolving 32 6 146
identd_parse 60 34 377
identd_response 50 13 228
syslog_vstrerror 10 2 70
syslog_err 8 1 45
syslog_errx 8 1 43
syslog_warn 7 1 37
syslog_warnx 7 1 35
syslog_notice 7 1 35
syslog_debug 9 2 42
gethost 9 2 64
gentoken 13 3 89
fetchuid 36 5 321
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 24 6 152
match_token 97 37 576
show_valid_args 32 11 143
parse_asnum 12 3 71
parse_addr 27 4 202
parse_prefix 47 13 306
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpctl/eigrpctl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 184 55 1189
get_ifms_type 15 5 52
show_interface_msg 34 10 231
show_interface_detail_msg 44 10 278
print_link 7 2 24
fmt_timeframe_core 29 5 179
show_nbr_msg 28 9 194
connected_check 16 5 67
show_topology_msg 57 19 417
show_topology_detail_msg 90 22 641
show_fib_head 6 1 24
show_fib_msg 56 17 363
show_interface_head 5 1 17
get_media_descr 8 3 48
get_linkstate 11 3 77
print_baudrate 11 4 80
show_fib_interface_msg 29 8 179
show_stats_msg 37 8 256
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 5 1 23
log_output 7 2 33
log_err 17 2 112
log_msg 11 2 61
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/timer.c
Function nameLOCCyclomatic complexityToken count
timer_init 4 1 11
timer_next_event 15 3 87
timer_run 16 5 115
timer_add 27 5 212
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/net.h
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/monitor.h
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/carp.c
Function nameLOCCyclomatic complexityToken count
carp_map_state 19 7 58
carp_get_state 24 5 143
carp_demote 39 9 232
carp_state_name 7 2 37
carp_update_state 17 4 78
carp_check_state 4 1 15
carp_set_rfd 5 2 26
carp_read 15 5 110
carp_read_message 6 3 35
carp_init 39 8 241
control_setrun 10 4 47
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/sasyncd.c
Function nameLOCCyclomatic complexityToken count
sasyncd_stop 4 1 10
sasyncd_run 63 11 363
usage 6 1 25
main 82 21 383
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/net.c
Function nameLOCCyclomatic complexityToken count
dump_buf 22 7 193
net_add_listener 37 8 230
net_setup_listeners 100 30 663
net_init 19 5 118
net_enqueue 15 3 79
net_queue 80 10 596
net_set_pending_wfds 12 5 89
net_set_rfds 17 6 128
net_accept 50 14 347
net_handle_messages 43 13 268
net_send_messages 34 8 222
net_disconnect_peer 9 2 45
net_shutdown 30 6 176
net_read 75 15 520
net_set_sa 24 4 165
got_sigalrm 4 1 9
net_connect 46 10 320
net_check_peers 5 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/monitor.c
Function nameLOCCyclomatic complexityToken count
monitor_init 46 10 314
got_sigchld 4 1 11
sig_to_child 5 2 25
monitor_drain_input 9 2 54
monitor_loop 71 23 364
monitor_carpundemote 10 3 49
monitor_carpdemote 10 3 48
monitor_get_pfkey_snap 48 10 297
monitor_control_active 8 3 40
m_priv_pfkey_snap 74 17 446
m_priv_isakmpd_fifocmd 26 6 149
m_priv_iked_imsg 33 6 214
m_priv_control_activate 10 5 59
m_priv_control_passivate 10 5 59
m_write 18 6 86
m_read 18 6 86
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/pfkey.c
Function nameLOCCyclomatic complexityToken count
pfkey_write 16 6 102
pfkey_set_promisc 13 1 83
pfkey_send_flush 17 2 117
pfkey_print_type 10 2 59
pfkey_find_ext 16 4 94
pfkey_msg_filter 78 39 527
pfkey_handle_message 33 10 195
pfkey_read 24 4 141
pfkey_init 16 5 83
pfkey_set_rfd 5 2 26
pfkey_set_pending_wfd 5 3 32
pfkey_read_message 6 3 35
pfkey_send_message 14 5 90
pfkey_queue_message 21 2 132
pfkey_shutdown 11 3 67
pfkey_snapshot 62 16 407
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/net_ctl.c
Function nameLOCCyclomatic complexityToken count
net_ctl_check_state 21 6 120
net_ctl_handle_msg 64 17 351
net_ctl_send 13 2 106
net_ctl_send_ack 4 1 31
net_ctl_send_state 4 1 26
net_ctl_send_error 4 1 28
net_ctl_send_endsnap 4 1 21
net_ctl_update_state 12 3 74
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/sasyncd.h
Source file: /home/sergeyb/sources/src/usr.sbin/slowcgi/slowcgi.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 84 25 583
slowcgi_listen 28 8 234
slowcgi_paused 5 1 31
accept_reserve 17 3 102
slowcgi_accept 61 9 379
slowcgi_timeout 4 1 24
slowcgi_sig_handler 40 10 214
slowcgi_add_response 15 3 103
slowcgi_response 33 9 200
slowcgi_request 38 8 201
parse_begin_request 16 3 87
parse_params 81 18 530
parse_stdin 18 4 124
parse_record 33 8 234
exec_cgi 94 18 785
create_end_record 29 2 203
script_in 48 9 271
script_std_in 5 1 35
script_err_in 5 1 35
script_out 28 7 167
cleanup_request 53 14 369
dump_fcgi_record 10 3 70
dump_fcgi_record_header 9 1 86
dump_fcgi_begin_request_body 5 1 39
dump_fcgi_end_request_body 5 1 39
syslog_vstrerror 10 2 70
syslog_err 8 1 45
syslog_errx 8 1 43
syslog_warn 7 1 37
syslog_warnx 7 1 35
syslog_info 7 1 35
syslog_debug 9 2 42
Source file: /home/sergeyb/sources/src/usr.sbin/quot/quot.c
Function nameLOCCyclomatic complexityToken count
get_inode 49 20 421
virtualblocks 16 3 120
isfree 17 9 79
inituser 16 4 99
usrrehash 19 5 124
user 26 8 152
cmpusers 5 1 36
uses 16 5 111
initfsizes 11 3 62
dofsizes 50 15 383
douser 36 11 285
donames 38 18 274
usage 5 1 18
ffs_oldfscompat 18 4 127
quot 41 12 260
main 81 28 518
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/iso_cksum.c
Function nameLOCCyclomatic complexityToken count
iso_cksum 27 6 151
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/hello.c
Function nameLOCCyclomatic complexityToken count
send_hello 62 15 420
recv_hello 108 37 757
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/ospfe.c
Function nameLOCCyclomatic complexityToken count
ospfe_sig_handler 10 3 37
ospfe 108 22 811
ospfe_shutdown 29 3 182
ospfe_imsg_compose_parent 4 1 38
ospfe_imsg_compose_rde 6 1 41
ospfe_dispatch_main 151 39 899
ospfe_dispatch_rde 228 84 1395
find_vlink 16 4 121
orig_rtr_lsa_all 7 2 36
orig_rtr_lsa 220 58 1471
orig_net_lsa 44 8 367
ospfe_router_id 4 1 15
ospfe_fib_update 10 4 43
ospfe_iface_ctl 14 3 96
ospfe_nbr_ctl 18 2 127
ospfe_demote_area 14 4 98
ospfe_demote_iface 17 4 108
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 36 6 245
control_listen 12 2 78
control_cleanup 8 2 37
control_accept 34 9 268
control_connbyfd 9 2 42
control_connbypid 9 2 42
control_close 17 3 116
control_dispatch_imsg 93 34 578
control_imsg_relay 8 2 76
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/logmsg.c
Function nameLOCCyclomatic complexityToken count
nbr_state_name 25 10 92
if_state_name 21 8 76
if_type_name 16 6 59
if_auth_name 12 4 43
dst_type_name 10 3 35
path_type_name 14 5 51
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/rde.c
Function nameLOCCyclomatic complexityToken count
rde_sig_handler 10 3 37
rde 79 13 598
rde_shutdown 27 3 172
rde_imsg_compose_ospfe 6 1 41
rde_dispatch_imsg 313 87 2128
rde_dispatch_parent 101 26 647
rde_dump_area 12 1 101
rde_router_id 4 1 15
rde_backbone_area 6 1 26
rde_send_change_kroute 31 5 190
rde_send_delete_kroute 9 1 66
rde_send_summary 25 2 173
rde_send_summary_area 22 3 166
rde_nbr_init 21 5 161
rde_nbr_free 5 1 18
rde_nbr_find 11 2 52
rde_nbr_new 28 6 198
rde_nbr_iface_del 13 3 77
rde_nbr_del 9 2 41
rde_nbr_loading 22 7 110
rde_nbr_self 9 2 46
rde_req_list_add 10 2 79
rde_req_list_exists 11 4 74
rde_req_list_del 13 4 85
rde_req_list_free 8 2 49
asext_compare 12 5 116
asext_find 7 1 46
rde_asext_lookup 14 4 100
rde_asext_get 62 11 501
rde_asext_put 22 3 163
rde_asext_free 9 2 63
orig_asext_lsa 32 6 304
rde_summary_update 44 18 308
orig_sum_lsa 24 4 222
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/rde_spf.c
Function nameLOCCyclomatic complexityToken count
spf_calc 89 19 521
rt_calc 78 18 673
asext_calc 59 15 448
spf_tree_clr 9 1 45
calc_nexthop 67 16 373
cand_list_init 4 1 12
cand_list_add 15 5 96
cand_list_pop 8 2 42
cand_list_present 9 2 41
cand_list_clr 7 2 37
spf_timer 49 8 248
start_spf_timer 23 6 108
stop_spf_timer 5 2 27
start_spf_holdtimer 20 6 104
rt_init 4 1 12
rt_compare 16 7 132
rt_find 8 1 52
rt_insert 10 2 57
rt_remove 11 2 62
rt_invalidate 30 11 202
rt_nexthop_clear 8 2 49
rt_nexthop_add 32 8 242
rt_clear 6 2 32
rt_dump 53 13 319
rt_update 69 23 438
rt_lookup 17 7 107
get_rtr_link 18 4 136
get_net_link 17 4 126
linked 42 12 226
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/interface.c
Function nameLOCCyclomatic complexityToken count
if_fsm 55 16 353
if_new 43 8 312
if_del 17 6 138
if_init 9 1 80
if_hello_timer 13 3 84
if_start_hello_timer 7 2 40
if_stop_hello_timer 5 2 27
if_wait_timer 5 1 28
if_start_wait_timer 8 2 48
if_stop_wait_timer 5 2 27
if_act_start 54 17 297
if_elect 10 4 74
if_act_elect 89 43 705
if_act_reset 43 9 216
if_to_ctl 66 8 578
if_set_recvif 9 2 49
if_set_sockbuf 16 5 96
if_join_group 41 12 260
if_leave_group 38 11 218
if_set_mcast 23 7 117
if_set_mcast_loop 10 2 55
if_set_ip_hdrincl 9 2 51
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/auth.c
Function nameLOCCyclomatic complexityToken count
auth_validate 80 14 511
auth_gen 47 7 359
md_list_add 13 3 111
md_list_copy 12 2 96
md_list_clr 8 2 43
md_list_find 8 2 43
md_list_send 9 2 65
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/name2id.c
Function nameLOCCyclomatic complexityToken count
rtlabel_name2id 4 1 20
rtlabel_id2name 4 1 18
rtlabel_id2tag 4 1 18
rtlabel_tag2id 4 1 18
rtlabel_tag 4 1 20
rtlabel_unref 4 1 15
_name2id 35 10 238
_id2name 10 3 56
_id2tag 10 3 56
_tag2id 10 3 56
_tag 9 3 50
_unref 17 5 100
_ref 11 3 50
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/lsack.c
Function nameLOCCyclomatic complexityToken count
prepare_ls_ack 14 3 80
send_ls_ack 14 2 90
send_direct_ack 15 3 97
recv_ls_ack 38 14 195
lsa_hdr_check 26 9 140
ls_ack_list_add 15 5 108
ls_ack_list_free 7 1 43
ls_ack_list_clr 10 2 62
ls_ack_list_empty 4 1 20
ls_ack_tx_timer 57 15 314
start_ls_ack_tx_timer 8 2 50
start_ls_ack_tx_timer_now 7 2 40
stop_ls_ack_tx_timer 5 2 27
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/rde.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/carp.c
Function nameLOCCyclomatic complexityToken count
carp_group_find 8 2 44
carp_demote_init 25 7 162
carp_demote_shutdown 11 4 73
carp_demote_get 21 4 140
carp_demote_set 18 7 118
carp_demote_ioctl 21 5 154
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/ospf.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/packet.c
Function nameLOCCyclomatic complexityToken count
gen_ospf_hdr 12 2 99
send_packet 37 5 293
recv_packet 115 25 691
ip_hdr_sanity_check 11 3 67
ospf_hdr_sanity_check 43 12 279
find_iface 29 10 170
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/lsupdate.c
Function nameLOCCyclomatic complexityToken count
lsa_flood 81 30 501
prepare_ls_update 16 4 101
add_ls_update 24 5 186
send_ls_update 21 2 140
recv_ls_update 54 17 301
ls_retrans_list_add 21 5 159
ls_retrans_list_del 13 5 104
ls_retrans_list_get 11 4 86
ls_retrans_list_insert 17 2 101
ls_retrans_list_remove 21 8 163
ls_retrans_list_free 6 1 35
ls_retrans_list_clr 7 2 43
ls_retrans_timer 77 18 524
lsa_cache_init 13 4 99
lsa_hash_hdr 4 1 25
lsa_cache_add 24 4 193
lsa_cache_get 8 2 35
lsa_cache_put 11 3 78
lsa_cache_look 11 2 76
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/area.c
Function nameLOCCyclomatic complexityToken count
area_new 11 2 76
area_del 25 6 186
area_find 10 2 55
area_track 17 3 102
area_border_router 9 2 46
area_ospf_options 7 3 32
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/ospfe.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/ospfd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/neighbor.c
Function nameLOCCyclomatic complexityToken count
nbr_fsm 92 27 527
nbr_init 24 5 186
nbr_new 42 4 341
nbr_del 21 7 166
nbr_find_peerid 11 2 52
nbr_find_id 9 2 52
nbr_itimer 8 2 42
nbr_start_itimer 8 2 50
nbr_stop_itimer 5 2 27
nbr_reset_itimer 8 2 50
nbr_adj_timer 11 4 76
nbr_start_adj_timer 8 2 46
nbr_act_reset_itimer 5 1 19
nbr_act_start_itimer 5 1 19
nbr_adj_ok 19 9 82
nbr_act_eval 14 2 68
nbr_act_snapshot 15 2 98
nbr_act_exchange_done 14 6 76
nbr_act_adj_ok 11 3 56
nbr_act_restart_dd 15 2 78
nbr_act_delete 20 3 121
nbr_act_clear_lists 9 1 39
nbr_act_hello_check 5 1 27
nbr_to_ctl 43 7 392
lsa_hdr_new 7 2 42
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/lsreq.c
Function nameLOCCyclomatic complexityToken count
send_ls_req 46 12 306
recv_ls_req 23 10 102
ls_req_list_add 11 3 77
ls_req_list_get 11 4 80
ls_req_list_free 17 7 117
ls_req_list_clr 11 2 68
ls_req_list_empty 4 1 20
ls_req_tx_timer 30 12 135
start_ls_req_tx_timer 9 3 52
stop_ls_req_tx_timer 7 3 39
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/in_cksum.c
Function nameLOCCyclomatic complexityToken count
in_cksum 28 6 172
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/ospfd.c
Function nameLOCCyclomatic complexityToken count
main_sig_handler 16 5 62
usage 8 1 26
main 137 27 871
ospfd_shutdown 33 10 215
main_dispatch_ospfe 78 26 430
main_dispatch_rde 52 17 286
main_imsg_compose_ospfe 5 2 39
main_imsg_compose_rde 5 2 39
imsg_event_add 9 2 73
imsg_compose_event 9 2 70
ospf_redistribute 62 28 373
ospf_reload 33 8 240
ospf_sendboth 8 3 78
merge_config 107 29 716
merge_interfaces 65 13 490
iface_lookup 10 4 74
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/database.c
Function nameLOCCyclomatic complexityToken count
send_db_description 100 25 575
recv_db_description 150 38 872
db_sum_list_add 8 2 61
db_sum_list_next 9 2 58
db_sum_list_clr 5 1 20
db_tx_timer 29 12 130
start_db_tx_timer 9 3 52
stop_db_tx_timer 7 3 39
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/rde_lsdb.c
Function nameLOCCyclomatic complexityToken count
lsa_init 4 1 13
lsa_compare 16 7 112
vertex_get 23 3 188
vertex_free 8 1 48
vertex_nexthop_clear 8 2 47
vertex_nexthop_add 9 2 72
lsa_newer 34 13 226
lsa_check 87 33 570
lsa_router_check 38 8 230
lsa_self 26 7 206
lsa_add 48 16 369
lsa_del 13 3 91
lsa_age 21 3 108
lsa_find 12 4 74
lsa_find_area 5 1 33
lsa_find_tree 15 4 90
lsa_find_net 15 4 87
lsa_num_links 12 3 79
lsa_snap 35 11 201
lsa_dump 48 19 213
lsa_timeout 31 9 229
lsa_refresh 24 5 205
lsa_merge 35 8 243
lsa_remove_invalid_sums 15 7 115
lsa_generate_stub_sums 32 8 217
lsa_equal 15 8 136
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/printconf.c
Function nameLOCCyclomatic complexityToken count
print_mainconf 18 4 101
print_no 7 2 24
print_redistribute 29 7 171
print_rtlabel 8 2 42
print_iface 42 7 224
print_config 27 4 146
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/kroute.c
Function nameLOCCyclomatic complexityToken count
kif_init 6 2 26
kr_init 38 9 273
kr_change_fib 58 20 441
kr_change 10 4 84
kr_delete_fib 11 4 91
kr_delete 14 4 84
kr_shutdown 6 1 18
kr_fib_couple 13 4 86
kr_fib_decouple 13 4 86
kr_fib_reload_timer 10 2 48
kr_fib_reload_arm_timer 9 2 58
kr_fib_reload 23 8 157
kr_dispatch_msg 5 2 28
kr_show_route 42 9 258
kr_ifinfo 10 3 75
kr_redist_remove 14 5 97
kr_redist_eval 30 12 198
kr_redistribute 23 6 154
kr_reload 16 6 90
kroute_compare 18 9 179
kif_compare 4 1 29
kroute_find 20 5 128
kroute_matchgw 11 3 56
kroute_insert 23 5 146
kroute_remove 37 9 258
kroute_clear 6 2 32
kif_find 7 1 44
kif_findname 19 5 123
kif_insert 11 3 76
kif_remove 14 3 86
kif_clear 6 2 32
kif_update 26 8 220
kif_validate 9 2 48
kroute_match 12 4 82
protect_lo 14 3 100
prefixlen_classful 13 5 60
mask2prefixlen 7 2 32
prefixlen2mask 6 2 33
get_rtaddrs 12 3 87
if_change 28 7 181
if_newaddr 24 7 156
if_deladdr 25 6 172
if_announce 16 3 85
send_rtmsg 85 10 628
fetchtable 30 4 191
fetchifs 29 4 183
dispatch_rtmsg 16 5 96
rtmsg_process 235 58 1369
Source file: /home/sergeyb/sources/src/usr.sbin/rebound/rebound.c
Function nameLOCCyclomatic complexityToken count
logmsg 15 4 83
logerr 17 4 93
cachecmp 6 3 54
lowercase 7 2 30
randomcase 16 4 101
freecacheent 9 1 52
dnamelen 11 4 70
adjustttl 46 9 297
cachelookup 23 3 140
freerequest 19 7 111
servfail 8 1 74
newrequest 80 16 605
minttl 36 8 234
sendreply 45 14 342
tcpphasetwo 19 5 130
newtcprequest 35 8 209
readconfig 36 7 274
workerinit 30 11 237
workerloop 133 36 1076
openconfig 14 3 90
reexec 17 8 98
monitorloop 73 15 467
resetport 6 1 42
usage 5 1 18
main 87 22 731
Source file: /home/sergeyb/sources/src/usr.sbin/rebound/randomid.c
Function nameLOCCyclomatic complexityToken count
randomid 24 4 148
Source file: /home/sergeyb/sources/src/usr.sbin/yppoll/yppoll.c
Function nameLOCCyclomatic complexityToken count
usage 5 1 18
get_remote_info 56 8 396
main 41 8 240
Source file: /home/sergeyb/sources/src/usr.sbin/fdformat/fdformat.c
Function nameLOCCyclomatic complexityToken count
format_track 30 5 238
verify_track 32 9 211
usage 24 1 108
yes 16 11 117
main 165 57 1051
Source file: /home/sergeyb/sources/src/usr.sbin/mkuboot/copy_elf.c
Function nameLOCCyclomatic complexityToken count
ELFNAME( copy_elf) 175 50 1620
Source file: /home/sergeyb/sources/src/usr.sbin/mkuboot/mkuboot.c
Function nameLOCCyclomatic complexityToken count
main 116 30 870
is_elf 19 7 129
copy_data 18 5 136
copy_mem 16 4 112
fill_zeroes 17 4 115
copy_raw 15 4 119
usage 19 3 130
Source file: /home/sergeyb/sources/src/usr.sbin/mkuboot/copy_elf64.c
Source file: /home/sergeyb/sources/src/usr.sbin/mkuboot/copy_elf32.c
Source file: /home/sergeyb/sources/src/usr.sbin/acpidump/acpidump.c
Function nameLOCCyclomatic complexityToken count
acpi_checksum 10 2 42
acpi_user_find_mapping 21 6 177
acpi_map_physical 6 1 39
acpi_user_init 9 3 44
acpi_find_rsd_ptr 30 7 223
acpi_print_string 10 5 63
acpi_print_rsd_ptr 8 1 54
acpi_map_sdt 7 1 41
aml_dump 19 3 146
acpi_print_sdt 18 2 148
acpi_print_rsdt 15 3 104
acpi_print_facp 67 10 459
acpi_print_dsdt 4 1 14
acpi_handle_dsdt 8 1 44
acpi_handle_facp 10 2 61
acpi_handle_rsdt 20 4 138
asl_dump_from_devmem 24 7 163
usage 6 1 25
main 21 6 105
bios_acpi_addr 24 6 165
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/moptrace/moptrace.c
Function nameLOCCyclomatic complexityToken count
main 35 13 155
Usage 5 1 19
mopProcess 14 5 108
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopa.out/mopa.out.c
Function nameLOCCyclomatic complexityToken count
main 103 27 790
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopprobe/mopprobe.c
Function nameLOCCyclomatic complexityToken count
main 38 14 165
Usage 5 1 19
mopProcess 143 48 816
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopchk/mopchk.c
Function nameLOCCyclomatic complexityToken count
main 80 23 477
Usage 5 1 19
mopProcess 5 1 17
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/device.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/mopdef.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/get.c
Function nameLOCCyclomatic complexityToken count
mopGetChar 7 1 36
mopGetShort 7 1 46
mopGetNShort 7 1 46
mopGetLong 8 1 66
mopGetMulti 7 2 56
mopGetTrans 12 3 56
mopGetHeader 18 3 121
mopGetLength 10 3 58
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/pf.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/dl.c
Function nameLOCCyclomatic complexityToken count
mopDumpDL 202 43 1354
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/dl.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/rc.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/print.c
Function nameLOCCyclomatic complexityToken count
mopPrintHWA 11 7 145
mopPrintBPTY 14 3 53
mopPrintPGTY 20 5 77
mopPrintOneline 138 33 614
mopPrintHeader 52 9 274
mopPrintMopHeader 100 25 420
mopPrintDevice 7 1 49
mopPrintTime 6 1 71
mopPrintInfo 223 58 1340
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/pf.c
Function nameLOCCyclomatic complexityToken count
pfTrans 4 1 17
pfInit 63 11 454
pfAddMulti 20 3 153
pfDelMulti 20 3 153
pfRead 4 1 26
pfWrite 21 3 143
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/cmp.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/os.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/file.c
Function nameLOCCyclomatic complexityToken count
FileTypeName 14 5 49
mopFilePutLX 8 2 52
mopFilePutBX 8 2 56
mopFileGetLX 12 3 74
mopFileGetBX 12 3 70
mopFileGetLXX 12 3 74
mopFileGetBXX 12 3 70
mopFileSwapX 10 2 79
CheckMopFile 22 9 113
GetMopFileInfo 120 17 856
getMID 40 19 122
getCLBYTES 25 23 75
CheckElfFile 17 9 136
GetElf32FileInfo 152 23 1169
GetElf64FileInfo 154 26 1173
CheckAOutFile 21 6 171
GetAOutFileInfo 152 59 1057
GetFileInfo 31 8 171
mopFileRead 129 29 855
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/nma.c
Function nameLOCCyclomatic complexityToken count
nmaGetShort 11 3 46
nmaGetDevice 11 3 46
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/file.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/nma.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/cmp.c
Function nameLOCCyclomatic complexityToken count
mopCmpEAddr 4 1 24
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/put.c
Function nameLOCCyclomatic complexityToken count
mopPutChar 5 1 29
mopPutShort 6 1 42
mopPutNShort 6 1 42
mopPutLong 9 2 59
mopPutMulti 7 2 53
mopPutTime 21 2 184
mopPutHeader 23 5 172
mopPutLength 15 4 77
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/device.c
Function nameLOCCyclomatic complexityToken count
deviceEthAddr 22 7 145
deviceOpen 47 7 363
deviceInitOne 60 19 408
deviceInitAll 33 12 199
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/print.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/get.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/loop-bsd.c
Function nameLOCCyclomatic complexityToken count
mopOpenRC 5 1 39
mopOpenDL 5 1 39
mopReadRC 3 1 6
mopReadDL 3 1 6
Loop 63 19 404
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/common.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/mopdef.c
Function nameLOCCyclomatic complexityToken count
mopdef_dummy 5 1 34
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/put.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/nmadef.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/rc.c
Function nameLOCCyclomatic complexityToken count
mopDumpRC 208 45 1503
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopd/process.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopd/process.c
Function nameLOCCyclomatic complexityToken count
mopProcessInfo 76 29 365
mopSendASV 20 6 150
mopStartLoad 54 18 514
mopNextLoad 82 17 734
mopProcessDL 107 24 758
mopProcessRC 51 15 281
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopd/mopd.c
Function nameLOCCyclomatic complexityToken count
main 69 28 400
Usage 6 1 19
mopProcess 23 8 164
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/otherOS/os-linux2.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/otherOS/loop.c
Function nameLOCCyclomatic complexityToken count
mopOpenRC 16 2 76
mopOpenDL 16 2 76
mopReadRC 13 3 63
mopReadDL 13 3 63
Loop 32 10 214
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/otherOS/pf-snit.c
Function nameLOCCyclomatic complexityToken count
pfTrans 5 1 17
pfInit 47 8 318
setup_pf 38 3 273
pfEthAddr 14 2 88
pfAddMulti 22 3 159
pfDelMulti 22 3 159
pfRead 6 1 31
pfWrite 20 2 134
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/otherOS/loop-linux2.c
Function nameLOCCyclomatic complexityToken count
mopOpenRC 10 1 41
mopOpenDL 10 1 41
mopReadRC 3 1 5
mopReadDL 3 1 5
Loop 51 15 314
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/otherOS/os-sunos4.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/list.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/int.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/ipv6.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/lang.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/lwbuffer.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/lwpacket.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/lwres.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/stdlib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/context.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/unix/include/lwres/net.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/getaddrinfo.c
Function nameLOCCyclomatic complexityToken count
lwres_getaddrinfo 230 80 1435
lwres_strsep 19 5 118
set_order 38 12 219
add_ipv4 61 13 381
add_ipv6 61 13 381
lwres_freeaddrinfo 12 4 65
get_local 14 3 103
ai_alloc 16 4 111
ai_clone 17 4 114
ai_reverse 11 2 54
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/getipnode.c
Function nameLOCCyclomatic complexityToken count
lwres_getipnodebyname 108 45 790
lwres_getipnodebyaddr 89 23 543
lwres_freehostent 22 3 108
scan_interfaces6 93 34 625
scan_interfaces 108 43 753
copyandmerge 121 34 713
hostfromaddr 56 19 428
hostfromname 59 18 446
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/gethost.c
Function nameLOCCyclomatic complexityToken count
lwres_gethostbyname 6 2 39
lwres_gethostbyname2 6 2 42
lwres_gethostbyaddr 6 2 45
lwres_gethostent 5 2 22
lwres_sethostent 3 1 12
lwres_endhostent 2 1 6
lwres_gethostbyname_r 16 3 97
lwres_gethostbyaddr_r 17 3 103
lwres_gethostent_r 7 1 45
lwres_sethostent_r 3 1 12
lwres_endhostent_r 2 1 6
copytobuf 54 8 407
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwres_gabn.c
Function nameLOCCyclomatic complexityToken count
lwres_gabnrequest_render 42 3 279
lwres_gabnresponse_render 70 7 491
lwres_gabnrequest_parse 34 7 214
lwres_gabnresponse_parse 96 20 615
lwres_gabnrequest_free 9 2 55
lwres_gabnresponse_free 23 5 168
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/context_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwresutil.c
Function nameLOCCyclomatic complexityToken count
lwres_data_parse 18 5 113
lwres_string_parse 22 7 144
lwres_addr_parse 14 4 100
lwres_getaddrsbyname 80 14 483
lwres_getnamebyaddr 76 13 462
lwres_getrdatabyname 81 14 488
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/print.c
Function nameLOCCyclomatic complexityToken count
lwres__print_sprintf 7 1 47
lwres__print_snprintf 8 1 54
lwres__print_vsnprintf 460 155 2287
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/context.c
Function nameLOCCyclomatic complexityToken count
lwres_context_create 27 5 155
lwres_context_destroy 12 4 76
lwres_context_nextserial 4 1 23
lwres_context_initserial 4 1 24
lwres_context_freemem 5 1 36
lwres_context_allocmem 4 1 26
lwres_malloc 9 2 52
lwres_free 5 1 34
context_connect 60 11 414
lwres_context_getsocket 3 1 15
lwres_context_send 16 5 96
lwres_context_recv 38 12 256
lwres_context_sendrecv 30 6 178
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwres_grbn.c
Function nameLOCCyclomatic complexityToken count
lwres_grbnrequest_render 43 3 290
lwres_grbnresponse_render 61 7 468
lwres_grbnrequest_parse 36 7 231
lwres_grbnresponse_parse 98 22 664
lwres_grbnrequest_free 9 2 55
lwres_grbnresponse_free 20 5 160
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwinetaton.c
Function nameLOCCyclomatic complexityToken count
lwres_net_aton 76 31 488
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwres_gnba.c
Function nameLOCCyclomatic complexityToken count
lwres_gnbarequest_render 41 3 286
lwres_gnbaresponse_render 52 5 355
lwres_gnbarequest_parse 31 8 192
lwres_gnbaresponse_parse 65 15 417
lwres_gnbarequest_free 9 2 55
lwres_gnbaresponse_free 16 4 117
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/assert_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwinetpton.c
Function nameLOCCyclomatic complexityToken count
lwres_net_pton 11 3 60
inet_pton4 32 10 210
inet_pton6 71 19 464
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwres_noop.c
Function nameLOCCyclomatic complexityToken count
lwres_nooprequest_render 36 3 229
lwres_noopresponse_render 35 3 223
lwres_nooprequest_parse 35 7 216
lwres_noopresponse_parse 35 7 216
lwres_noopresponse_free 9 2 55
lwres_nooprequest_free 9 2 55
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwinetntop.c
Function nameLOCCyclomatic complexityToken count
lwres_net_ntop 11 4 66
inet_ntop4 14 3 118
inet_ntop6 64 28 542
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwbuffer.c
Function nameLOCCyclomatic complexityToken count
lwres_buffer_init 10 1 59
lwres_buffer_invalidate 10 1 52
lwres_buffer_add 6 1 39
lwres_buffer_subtract 10 3 71
lwres_buffer_clear 7 1 34
lwres_buffer_first 5 1 22
lwres_buffer_forward 6 1 39
lwres_buffer_back 6 1 35
lwres_buffer_getuint8 12 1 75
lwres_buffer_putuint8 10 1 66
lwres_buffer_getuint16 13 1 93
lwres_buffer_putuint16 11 1 80
lwres_buffer_getuint32 15 1 129
lwres_buffer_putuint32 13 1 130
lwres_buffer_putmem 10 1 74
lwres_buffer_getmem 11 1 70
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwpacket.c
Function nameLOCCyclomatic complexityToken count
lwres_lwpacket_renderheader 16 2 127
lwres_lwpacket_parseheader 20 3 146
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/print_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/getrrset.c
Function nameLOCCyclomatic complexityToken count
lwresult_to_result 9 5 52
sane_malloc 5 2 25
sane_calloc 7 2 46
lwres_getrrsetbyname 109 19 716
lwres_freerrset 17 5 127
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/strtoul.c
Function nameLOCCyclomatic complexityToken count
lwres_strtoul 52 25 346
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/herror.c
Function nameLOCCyclomatic complexityToken count
lwres_herror 3 1 23
lwres_hstrerror 7 3 38
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwconfig.c
Function nameLOCCyclomatic complexityToken count
lwresaddr2af 13 3 41
eatline 7 3 40
eatwhite 9 6 66
getword 20 6 133
lwres_resetaddr 6 1 38
lwres_strdup 11 2 75
lwres_conf_init 24 4 175
lwres_conf_clear 34 6 248
lwres_conf_parsenameserver 45 14 298
lwres_conf_parselwserver 20 8 142
lwres_conf_parsedomain 28 10 213
lwres_conf_parsesearch 38 10 257
lwres_create_addr 22 5 186
lwres_conf_parsesortlist 39 10 273
lwres_conf_parseoption 31 11 222
lwres_conf_parse 48 14 326
lwres_conf_print 72 16 577
lwres_conf_get 4 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/getnameinfo.c
Function nameLOCCyclomatic complexityToken count
lwres_getnameinfo 151 52 1000
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/gai_strerror.c
Function nameLOCCyclomatic complexityToken count
lwres_gai_strerror 12 3 72
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/aclconf.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/namedconf.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/grammar.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/cfg.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/log.c
Function nameLOCCyclomatic complexityToken count
cfg_log_init 5 1 29
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/namedconf.c
Function nameLOCCyclomatic complexityToken count
print_none 4 1 27
parse_qstringornone 13 3 89
doc_qstringornone 4 1 27
print_hostname 4 1 27
parse_serverid 17 5 126
doc_serverid 4 1 27
parse_port 12 2 79
parse_unitstring 34 11 167
parse_sizeval 19 2 125
parse_size 3 1 32
parse_maybe_optional_keyvalue 26 4 166
parse_enum_or_other 14 3 93
doc_enum_or_other 4 2 30
parse_keyvalue 3 1 31
parse_optional_keyvalue 3 1 31
print_keyvalue 6 1 53
doc_keyvalue 6 1 49
doc_optional_keyvalue 8 1 67
parse_dialup_type 3 1 32
parse_notify_type 3 1 32
parse_ixfrdiff_type 3 1 32
parse_optional_class 11 2 79
parse_querysource 56 12 351
print_querysource 8 1 70
parse_addrmatchelt 37 9 249
print_negated 4 1 29
parse_server_key_kludge 22 6 151
parse_optional_facility 14 3 91
parse_logseverity 21 4 163
parse_logversions 3 1 32
parse_logfile 37 9 315
print_logfile 11 3 111
doc_sockaddrnameport 16 1 123
parse_sockaddrnameport 32 4 199
doc_masterselement 14 1 107
parse_masterselement 22 4 128
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/parser.c
Function nameLOCCyclomatic complexityToken count
cfg_print_obj 3 1 24
cfg_print_chars 3 1 29
print_open 4 1 22
print_indent 7 2 35
print_close 5 1 27
cfg_parse_obj 9 3 69
cfg_print 10 1 65
cfg_create_tuple 25 5 191
cfg_parse_tuple 16 2 123
cfg_print_tuple 13 3 109
cfg_doc_tuple 11 3 84
free_tuple 14 3 110
cfg_obj_istuple 4 1 31
cfg_tuple_get 13 4 111
cfg_parse_special 11 3 72
parse_semicolon 11 3 67
parse_eof 10 2 57
cfg_parser_create 46 4 336
parser_openfile 19 2 131
cfg_parser_setcallback 7 1 27
parse2 20 4 111
cfg_parse_file 10 1 61
cfg_parse_buffer 10 1 62
cfg_parser_destroy 8 1 57
cfg_parse_void 4 1 35
cfg_print_void 4 1 23
cfg_doc_void 4 1 23
cfg_obj_isvoid 4 1 31
cfg_parse_uint32 15 2 109
cfg_print_cstr 3 1 25
cfg_print_rawuint 5 1 39
cfg_print_uint32 3 1 24
cfg_obj_isuint32 4 1 31
cfg_obj_asuint32 4 2 34
cfg_obj_isuint64 4 1 31
cfg_obj_asuint64 4 2 34
cfg_print_uint64 6 1 46
create_string 20 2 157
cfg_parse_qstring 15 2 86
parse_ustring 15 2 86
cfg_parse_astring 13 1 58
cfg_is_enum 8 3 61
check_enum 7 2 62
cfg_parse_enum 11 1 75
cfg_doc_enum 10 3 82
cfg_print_ustring 3 1 34
print_qstring 5 1 38
free_string 4 1 37
cfg_obj_isstring 4 1 31
cfg_obj_asstring 4 2 36
cfg_obj_isboolean 4 1 31
cfg_obj_asboolean 4 2 34
parse_boolean 32 9 229
print_boolean 6 2 40
cfg_create_list 7 1 51
create_listelt 10 2 65
free_list_elt 4 1 37
free_list 10 2 58
cfg_parse_listelt 17 2 102
parse_list 25 5 166
print_list 11 2 78
cfg_parse_bracketed_list 10 1 59
cfg_print_bracketed_list 5 1 30
cfg_doc_bracketed_list 5 1 40
cfg_parse_spacelist 22 4 141
cfg_print_spacelist 11 3 84
cfg_obj_islist 4 1 31
cfg_list_first 6 3 48
cfg_list_next 4 1 26
cfg_listelt_value 4 1 23
cfg_parse_mapbody 118 17 727
parse_symtab_elt 19 3 114
cfg_parse_map 8 1 59
parse_any_named_map 15 1 93
cfg_parse_named_map 3 1 32
cfg_parse_addressed_map 3 1 32
cfg_parse_netprefix_map 3 1 32
cfg_print_mapbody 43 7 263
cfg_doc_mapbody 15 3 106
cfg_print_map 9 2 66
print_clause_flags 14 4 89
cfg_doc_map 30 7 223
cfg_obj_ismap 4 1 31
cfg_map_get 14 4 113
cfg_map_getname 4 2 36
parse_token 28 4 223
parse_unsupported 32 9 219
token_addr 65 19 419
cfg_parse_rawaddr 27 6 158
cfg_lookingat_netaddr 6 1 40
cfg_parse_rawport 24 6 153
cfg_print_rawaddr 9 1 72
parse_netaddr 14 1 107
cfg_doc_netaddr 24 10 159
cfg_parse_netprefix 50 7 273
print_netprefix 6 1 53
cfg_obj_isnetprefix 4 1 31
cfg_obj_asnetprefix 6 2 56
parse_sockaddrsub 22 3 157
cfg_parse_sockaddr 4 1 43
cfg_print_sockaddr 13 2 94
cfg_doc_sockaddr 27 7 161
cfg_obj_issockaddr 4 1 31
cfg_obj_assockaddr 4 2 35
cfg_gettoken 44 8 251
cfg_ungettoken 6 2 34
cfg_peektoken 7 1 36
cfg_getstringtoken 12 4 70
cfg_parser_error 7 1 52
cfg_parser_warning 7 1 52
current_file 13 3 88
parser_complain 49 11 342
cfg_obj_log 14 3 101
cfg_obj_file 3 1 16
cfg_obj_line 3 1 16
cfg_create_obj 11 2 79
map_symtabitem_destroy 9 1 55
create_map 17 2 124
free_map 4 1 35
cfg_obj_istype 3 1 26
cfg_obj_destroy 6 1 51
free_noop 4 1 22
cfg_doc_obj 3 1 22
cfg_doc_terminal 5 1 40
cfg_print_grammar 10 1 61
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/aclconf.c
Function nameLOCCyclomatic complexityToken count
cfg_aclconfctx_init 3 1 15
cfg_aclconfctx_destroy 10 2 51
get_acl_def 19 4 137
convert_named_acl 47 7 327
convert_keyname 22 2 137
cfg_acl_fromconfig 86 17 532
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/mips/include/isc/atomic.h
Function nameLOCCyclomatic complexityToken count
isc_atomic_xadd 15 1 50
isc_atomic_store 12 1 37
isc_atomic_cmpxchg 17 1 60
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/noatomic/include/isc/atomic.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/assertions.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/list.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/interfaceiter.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/types.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/ratelimiter.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/formatcheck.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/msgs.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/parseint.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/netscope.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/boolean.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/ipv6.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/taskpool.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/lang.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/mem.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/mutexblock.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/lex.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/buffer.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/serial.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/event.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/os.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/hash.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/region.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/util.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/timer.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/sha2.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/socket.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/error.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/app.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/resource.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/fsaccess.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/entropy.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/lfsr.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/base32.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/msgcat.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/sha1.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/symtab.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/file.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/random.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/task.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/bitstring.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/ondestroy.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/eventclass.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/hmacmd5.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/hmacsha.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/string.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/stdlib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/hex.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/bufferlist.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/magic.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/print.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/rwlock.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/resultclass.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/quota.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/heap.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/netaddr.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/iterated_hash.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/refcount.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/lib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/md5.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/sockaddr.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/base64.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/stdio.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/commandline.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/shuffle.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/sparc64/include/isc/atomic.h
Function nameLOCCyclomatic complexityToken count
isc_atomic_xadd 13 3 80
isc_atomic_store 13 3 75
isc_atomic_cmpxchg 8 1 50
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/alpha/include/isc/atomic.h
Function nameLOCCyclomatic complexityToken count
isc_atomic_xadd 9 1 28
isc_atomic_store 8 1 27
isc_atomic_cmpxchg 12 1 36
isc_atomic_xadd 14 1 55
isc_atomic_store 12 1 42
isc_atomic_cmpxchg 17 1 66
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/x86_64/include/isc/atomic.h
Function nameLOCCyclomatic complexityToken count
isc_atomic_xadd 10 2 29
isc_atomic_store 10 2 29
isc_atomic_cmpxchg 12 2 38
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/int.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/strerror.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/stdtime.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/syslog.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/stat.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/net.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/offset.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/time.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/netdb.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/keyboard.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/dir.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/privsep.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/stdio.c
Function nameLOCCyclomatic complexityToken count
isc_stdio_open 8 2 55
isc_stdio_close 8 2 38
isc_stdio_seek 8 2 48
isc_stdio_read 15 4 91
isc_stdio_write 13 3 78
isc_stdio_flush 8 2 38
isc_stdio_sync 8 2 41
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/ipv6.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/socket.c
Function nameLOCCyclomatic complexityToken count
manager_log 14 2 90
socket_log 24 3 164
wakeup_socket 18 6 137
select_poke 24 7 149
select_readmsg 23 3 139
select_poke 7 3 40
make_nonblock 19 4 114
cmsg_len 6 2 42
cmsg_space 16 3 121
process_cmsg 48 21 305
build_msghdr_send 77 12 543
build_msghdr_recv 78 19 609
set_dev_address 13 4 74
destroy_socketevent 5 1 37
allocate_socketevent 21 2 128
dump_msg 12 3 103
doio_recv 81 21 519
doio_send 47 8 306
destroy 20 4 178
allocate_socket 70 12 464
free_socket 23 3 191
clear_bsdcompat 14 6 93
isc_socket_create 184 55 1116
isc_socket_attach 8 2 58
isc_socket_detach 16 3 94
dispatch_recv 17 2 114
dispatch_send 17 2 114
dispatch_accept 15 2 91
dispatch_connect 13 1 80
send_recvdone_event 12 3 95
send_senddone_event 13 4 107
internal_accept 160 33 909
internal_recv 43 9 258
internal_send 36 7 223
process_fds 56 16 316
watcher 63 9 331
isc__socketmgr_setreserved 4 1 25
create_fdsets 37 8 268
cleanup_fdsets 18 7 162
expand_fdsets 77 21 681
isc_socketmgr_create 79 14 594
isc_socketmgr_destroy 48 10 321
socket_recv 47 12 266
isc_socket_recvv 38 5 239
isc_socket_recv 15 2 114
isc_socket_recv2 21 3 124
socket_send 62 15 358
isc_socket_send 6 1 44
isc_socket_sendto 20 2 142
isc_socket_sendv 6 1 44
isc_socket_sendtov 29 3 205
isc_socket_sendto2 17 2 129
isc_socket_cleanunix 91 22 528
isc_socket_permunix 42 8 281
isc_socket_bind 48 14 314
isc_socket_privsep 4 1 16
isc_socket_filter 19 4 140
isc_socket_listen 20 4 147
isc_socket_accept 40 5 259
isc_socket_connect 76 9 507
internal_connect 75 8 455
isc_socket_getpeername 14 2 77
isc_socket_getsockname 25 3 158
isc_socket_cancel 77 21 483
isc_socket_gettype 4 1 23
isc_socket_isbound 7 2 46
isc_socket_ipv6only 10 5 74
isc__socketmgr_getfdsets 13 2 83
isc__socketmgr_dispatch 7 2 48
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/syslog.c
Function nameLOCCyclomatic complexityToken count
isc_syslog_facilityfromstring 12 3 88
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/app.c
Function nameLOCCyclomatic complexityToken count
exit_action 4 1 16
reload_action 4 1 16
handle_signal 17 3 115
isc_app_start 70 23 454
isc_app_onrun 24 3 121
evloop 47 9 242
isc__nothread_wait_hack 19 3 90
isc__nothread_signal_hack 7 1 31
isc_app_run 71 27 407
isc_app_shutdown 29 6 149
isc_app_reload 27 6 144
isc_app_finish 3 1 12
isc_app_block 11 5 76
isc_app_unblock 11 5 78
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/ifiter_ioctl.c
Function nameLOCCyclomatic complexityToken count
getbuf4 48 7 278
getbuf6 69 12 372
isc_interfaceiter_create 75 16 467
get_inaddr 4 1 37
internal_current_clusteralias 13 2 139
linux_if_inet6_next 8 3 56
linux_if_inet6_first 8 2 46
linux_if_inet6_current 57 9 408
internal_current4 128 30 997
internal_current6 97 24 785
internal_current 10 6 65
internal_next4 19 10 170
internal_next6 14 7 142
internal_next 20 9 113
internal_destroy 10 6 77
internal_first 13 6 80
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/resource.c
Function nameLOCCyclomatic complexityToken count
resource2rlim 42 15 152
isc_resource_setlimit 59 23 366
isc_resource_getlimit 13 2 71
isc_resource_curlimit 13 2 71
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/ifiter_getifaddrs.c
Function nameLOCCyclomatic complexityToken count
isc_interfaceiter_create 37 4 212
internal_current 37 11 344
internal_next 6 2 36
internal_destroy 5 2 27
internal_first 3 1 16
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/errno2result.c
Function nameLOCCyclomatic complexityToken count
isc__errno2result 58 39 228
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/errno2result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/strerror.c
Function nameLOCCyclomatic complexityToken count
init_lock 3 1 17
isc__strerror 20 5 147
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/file.c
Function nameLOCCyclomatic complexityToken count
file_stats 8 2 56
isc_file_getmodtime 10 2 66
isc_file_settime 13 4 142
isc_file_mktemplate 3 1 30
isc_file_template 22 5 161
isc_file_renameunique 36 11 218
isc_file_openunique 47 13 299
isc_file_remove 9 2 46
isc_file_rename 10 2 60
isc_file_exists 5 1 36
isc_file_isabsolute 4 1 29
isc_file_iscurrentdir 4 2 36
isc_file_ischdiridempotent 8 3 45
isc_file_basename 8 2 47
isc_file_progname 12 2 79
dir_current 19 5 111
isc_file_absolutepath 10 3 74
isc_file_truncate 6 2 40
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/os.c
Function nameLOCCyclomatic complexityToken count
sysconf_ncpus 5 3 27
hpux_ncpus 7 2 43
sysctl_ncpus 9 2 55
isc_os_ncpus 10 6 54
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/time.c
Function nameLOCCyclomatic complexityToken count
fix_tv_usec 18 6 105
isc_interval_set 8 1 42
isc_interval_iszero 7 3 49
isc_time_set 6 1 42
isc_time_settoepoch 5 1 27
isc_time_isepoch 7 3 49
isc_time_now 21 9 180
isc_time_nowplusinterval 27 11 222
isc_time_compare 13 7 107
isc_time_add 15 8 135
isc_time_subtract 19 8 150
isc_time_microdiff 12 4 109
isc_time_seconds 5 1 35
isc_time_secondsastimet 19 4 150
isc_time_nanoseconds 5 1 35
isc_time_formattimestamp 13 2 99
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/keyboard.c
Function nameLOCCyclomatic complexityToken count
isc_keyboard_open 32 4 206
isc_keyboard_close 9 3 78
isc_keyboard_getchar 19 4 122
isc_keyboard_canceled 3 1 20
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/privsep.c
Function nameLOCCyclomatic complexityToken count
isc_priv_init 42 9 256
isc_drop_privs 18 8 137
check_bind 43 13 249
parent_bind 21 5 155
isc_priv_bind 19 3 138
sig_pass_to_chld 7 2 30
sig_got_chld 13 7 75
may_read 19 6 92
must_read 18 6 87
must_write 18 6 89
write_command 4 1 23
logmsg 13 3 69
fatal 22 6 107
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/net.c
Function nameLOCCyclomatic complexityToken count
try_proto 59 14 248
initialize_action 5 5 27
initialize 3 1 19
isc_net_probeipv4 4 1 15
isc_net_probeipv6 4 1 15
isc_net_probeunix 4 1 15
try_ipv6only 54 7 261
initialize_ipv6only 4 1 19
try_ipv6pktinfo 36 5 165
initialize_ipv6pktinfo 4 1 19
isc_net_probe_ipv6only 5 3 19
isc_net_probe_ipv6pktinfo 5 4 19
isc_net_disableipv4 5 2 20
isc_net_disableipv6 5 2 20
isc_net_enableipv4 5 2 20
isc_net_enableipv6 5 2 20
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/ifiter_sysctl.c
Function nameLOCCyclomatic complexityToken count
isc_interfaceiter_create 59 6 358
internal_current 79 20 648
internal_next 9 2 77
internal_destroy 3 1 13
internal_first 3 1 14
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/privsep_fdpass.c
Function nameLOCCyclomatic complexityToken count
send_fd 32 4 223
receive_fd 36 5 228
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/interfaceiter.c
Function nameLOCCyclomatic complexityToken count
get_addr 46 11 278
isc_interfaceiter_current 7 1 42
isc_interfaceiter_first 15 4 72
isc_interfaceiter_next 15 4 76
isc_interfaceiter_destroy 13 2 86
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/fsaccess.c
Function nameLOCCyclomatic complexityToken count
isc_fsaccess_set 30 6 181
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/socket_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/entropy.c
Function nameLOCCyclomatic complexityToken count
get_from_filesource 32 8 207
get_from_usocketsource 96 29 569
fillpool 71 20 436
wait_for_sources 47 14 260
destroyfilesource 3 1 18
destroyusocketsource 3 1 15
make_nonblock 19 4 114
isc_entropy_createfilesource 79 17 482
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/dir.c
Function nameLOCCyclomatic complexityToken count
isc_dir_init 7 1 46
isc_dir_open 18 5 150
isc_dir_read 12 4 110
isc_dir_close 5 2 38
isc_dir_reset 5 2 34
isc_dir_chdir 6 2 38
isc_dir_chroot 6 2 38
isc_dir_createunique 39 11 200
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/stdtime.c
Function nameLOCCyclomatic complexityToken count
fix_tv_usec 18 6 105
isc_stdtime_get 9 3 74
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/include/isc/mutex.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/include/isc/condition.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/include/isc/thread.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/include/isc/once.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/thread.c
Function nameLOCCyclomatic complexityToken count
isc_thread_create 24 8 137
isc_thread_setconcurrency 4 2 21
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/condition.c
Function nameLOCCyclomatic complexityToken count
isc_condition_waituntil 26 8 180
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/mutex.c
Function nameLOCCyclomatic complexityToken count
isc_mutex_init_profile 37 8 301
isc_mutex_lock_profile 32 7 243
isc_mutex_unlock_profile 14 3 121
isc_mutex_statsprofile 28 5 197
isc_mutex_init_errcheck 13 5 82
isc__mutex_init 15 3 91
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/x86_32/include/isc/atomic.h
Function nameLOCCyclomatic complexityToken count
isc_atomic_xadd 10 2 48
isc_atomic_store 8 2 32
isc_atomic_cmpxchg 9 2 49
isc_atomic_xadd 11 2 30
isc_atomic_store 10 2 29
isc_atomic_cmpxchg 12 2 38
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/powerpc/include/isc/atomic.h
Function nameLOCCyclomatic complexityToken count
isc_atomic_cmpxchg 8 3 49
isc_atomic_xadd 21 2 55
isc_atomic_store 17 2 41
isc_atomic_cmpxchg 27 2 69
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/ia64/include/isc/atomic.h
Function nameLOCCyclomatic complexityToken count
isc_atomic_xadd 15 3 90
isc_atomic_store 8 1 30
isc_atomic_cmpxchg 10 1 58
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/include/isc/mutex.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/include/isc/condition.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/include/isc/thread.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/include/isc/once.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/thread.c
Function nameLOCCyclomatic complexityToken count
isc_thread_setconcurrency 3 1 13
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/condition.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/mutex.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nls/msgcat.c
Function nameLOCCyclomatic complexityToken count
isc_msgcat_open 13 4 84
isc_msgcat_close 13 5 84
isc_msgcat_get 12 4 84
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/parseint.c
Function nameLOCCyclomatic complexityToken count
isc_parse_uint32 14 5 99
isc_parse_uint16 11 3 69
isc_parse_uint8 11 3 69
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/heap.c
Function nameLOCCyclomatic complexityToken count
isc_heap_create 24 4 140
isc_heap_destroy 12 2 87
resize 17 3 128
float_up 14 5 139
sink_down 21 7 182
isc_heap_insert 9 3 66
isc_heap_delete 17 4 128
isc_heap_increased 5 2 47
isc_heap_decreased 5 2 47
isc_heap_element 5 2 43
isc_heap_foreach 7 2 63
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/region.c
Function nameLOCCyclomatic complexityToken count
isc_region_compare 12 6 119
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/base64.c
Function nameLOCCyclomatic complexityToken count
isc_base64_totext 40 7 439
base64_decode_init 7 1 39
base64_decode_char 41 19 411
base64_decode_finish 7 3 39
isc_base64_tobuffer 25 8 174
isc_base64_decodestring 14 7 94
str_totext 11 2 71
mem_tobuffer 9 2 63
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/log.c
Function nameLOCCyclomatic complexityToken count
isc_log_create 42 10 270
isc_logconfig_create 61 9 343
isc_logconfig_get 5 1 32
isc_logconfig_use 16 2 101
isc_log_destroy 30 4 203
isc_logconfig_destroy 41 10 332
isc_log_registercategories 18 6 134
isc_log_categorybyname 14 4 93
isc_log_registermodules 18 6 134
isc_log_modulebyname 14 4 93
isc_log_createchannel 58 12 394
isc_log_usechannel 29 9 206
isc_log_write 9 1 64
isc_log_vwrite 7 1 50
isc_log_write1 9 1 64
isc_log_vwrite1 7 1 50
isc_log_iwrite 11 1 74
isc_log_ivwrite 8 1 60
isc_log_iwrite1 11 1 74
isc_log_ivwrite1 8 1 60
isc_log_setcontext 3 1 12
isc_log_setdebuglevel 17 6 125
isc_log_getdebuglevel 4 1 23
isc_log_setduplicateinterval 4 1 26
isc_log_getduplicateinterval 4 1 23
isc_log_settag 15 6 118
isc_log_gettag 4 1 23
isc_log_opensyslog 3 1 27
isc_log_closefilelogs 14 4 97
assignchannel 29 7 194
sync_channellist 24 4 170
greatest_version 45 17 314
roll_log 69 26 458
isc_log_open 40 14 253
isc_log_wouldlog 7 5 56
isc_log_doit 228 73 1382
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/random.c
Function nameLOCCyclomatic complexityToken count
initialize_rand 6 1 48
initialize 4 1 19
isc_random_seed 5 1 16
isc_random_get 7 1 55
isc_random_uniform 18 6 82
isc_random_jitter 7 2 37
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/netaddr.c
Function nameLOCCyclomatic complexityToken count
isc_netaddr_equal 26 12 180
isc_netaddr_eqprefix 48 11 318
isc_netaddr_totext 44 11 310
isc_netaddr_format 20 4 113
isc_netaddr_prefixok 32 8 198
isc_netaddr_masktoprefixlen 39 11 235
isc_netaddr_fromin 5 1 42
isc_netaddr_fromin6 5 1 42
isc_netaddr_frompath 12 3 101
isc_netaddr_setzone 4 1 26
isc_netaddr_getzone 3 1 16
isc_netaddr_fromsockaddr 21 6 149
isc_netaddr_any 5 1 37
isc_netaddr_any6 5 1 35
isc_netaddr_ismulticast 10 3 62
isc_netaddr_isexperimental 8 2 43
isc_netaddr_islinklocal 10 3 50
isc_netaddr_issitelocal 10 3 50
isc_netaddr_fromv4mapped 10 1 92
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/inet_aton.c
Function nameLOCCyclomatic complexityToken count
isc_net_aton 72 31 479
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/lex.c
Function nameLOCCyclomatic complexityToken count
grow_data 15 3 143
isc_lex_create 25 4 179
isc_lex_destroy 13 3 103
isc_lex_getcomments 4 1 23
isc_lex_setcomments 4 1 26
isc_lex_getspecials 4 1 30
isc_lex_setspecials 4 1 30
new_source 31 4 220
isc_lex_openfile 12 3 87
isc_lex_openstream 6 1 56
isc_lex_openbuffer 6 1 56
isc_lex_close 16 4 120
pushback 10 3 56
pushandgrow 20 3 148
isc_lex_gettoken 396 129 2086
isc_lex_getmastertoken 32 14 190
isc_lex_getoctaltoken 23 9 142
isc_lex_ungettoken 14 2 99
isc_lex_getlasttokentext 16 2 123
isc_lex_getsourcename 8 2 47
isc_lex_getsourceline 8 2 47
isc_lex_setsourcename 14 3 93
isc_lex_isfile 8 2 47
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/sockaddr.c
Function nameLOCCyclomatic complexityToken count
isc_sockaddr_equal 5 1 30
isc_sockaddr_eqaddr 4 1 28
isc_sockaddr_compare 39 21 345
isc_sockaddr_eqaddrprefix 8 1 53
isc_sockaddr_totext 41 8 318
isc_sockaddr_format 14 2 86
isc_sockaddr_hash 44 5 314
isc_sockaddr_any 10 2 90
isc_sockaddr_any6 10 2 88
isc_sockaddr_fromin 11 2 101
isc_sockaddr_anyofpf 12 3 44
isc_sockaddr_fromin6 11 2 101
isc_sockaddr_v6fromin 13 2 141
isc_sockaddr_pf 15 4 79
isc_sockaddr_fromnetaddr 24 6 207
isc_sockaddr_setport 16 3 90
isc_sockaddr_getport 18 3 98
isc_sockaddr_ismulticast 9 3 58
isc_sockaddr_isexperimental 8 2 48
isc_sockaddr_issitelocal 8 2 48
isc_sockaddr_islinklocal 8 2 48
isc_sockaddr_frompath 14 4 137
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/buffer.c
Function nameLOCCyclomatic complexityToken count
isc__buffer_init 4 1 33
isc__buffer_invalidate 6 1 41
isc__buffer_region 5 1 34
isc__buffer_usedregion 5 1 34
isc__buffer_availableregion 5 1 34
isc__buffer_add 5 1 40
isc__buffer_subtract 5 1 36
isc__buffer_clear 4 1 21
isc__buffer_consumedregion 5 1 34
isc__buffer_remainingregion 5 1 34
isc__buffer_activeregion 5 1 34
isc__buffer_setactive 5 1 40
isc__buffer_first 4 1 21
isc__buffer_forward 5 1 40
isc__buffer_back 5 1 36
isc_buffer_compact 14 2 92
isc_buffer_getuint8 10 1 69
isc__buffer_putuint8 5 1 39
isc_buffer_getuint16 11 1 88
isc__buffer_putuint16 5 1 39
isc_buffer_getuint32 13 1 124
isc__buffer_putuint32 5 1 39
isc__buffer_putmem 7 1 48
isc__buffer_putstr 11 1 76
isc_buffer_copyregion 13 2 90
isc_buffer_allocate 15 2 97
isc_buffer_free 15 1 95
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/hmacmd5.c
Function nameLOCCyclomatic complexityToken count
isc_hmacmd5_init 19 3 158
isc_hmacmd5_invalidate 4 1 32
isc_hmacmd5_update 5 1 30
isc_hmacmd5_sign 13 2 120
isc_hmacmd5_verify 3 1 25
isc_hmacmd5_verify2 6 1 54
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/refcount.c
Function nameLOCCyclomatic complexityToken count
isc_refcount_init 6 2 41
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/inet_pton.c
Function nameLOCCyclomatic complexityToken count
isc_net_pton 11 3 60
inet_pton4 34 12 224
inet_pton6 73 20 475
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/sha1.c
Function nameLOCCyclomatic complexityToken count
do_R01 11 1 328
do_R2 11 1 328
do_R3 11 1 328
do_R4 11 1 328
transform 44 2 1429
isc_sha1_init 11 1 78
isc_sha1_invalidate 3 1 20
isc_sha1_update 21 4 200
isc_sha1_final 22 6 213
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/lib.c
Function nameLOCCyclomatic complexityToken count
open_msgcat 3 1 14
isc_lib_initmsgcat 13 2 64
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/timer.c
Function nameLOCCyclomatic complexityToken count
schedule 77 25 491
deschedule 19 5 104
destroy 16 1 103
isc_timer_create 72 17 498
isc_timer_reset 52 13 304
isc_timer_gettype 8 1 46
isc_timer_touch 10 1 67
isc_timer_attach 8 2 58
isc_timer_detach 16 3 93
dispatch 99 16 488
run 31 4 190
sooner 10 2 70
set_index 6 1 34
isc_timermgr_create 61 9 415
isc_timermgr_poke 5 2 29
isc_timermgr_destroy 34 6 220
isc__timermgr_nextevent 6 3 37
isc__timermgr_dispatch 7 2 31
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/task.c
Function nameLOCCyclomatic complexityToken count
task_finished 17 3 132
isc_task_create 47 8 312
isc_task_attach 9 2 65
task_shutdown 25 5 157
task_ready 10 2 73
task_detach 11 3 69
isc_task_detach 14 2 77
task_send 20 3 129
isc_task_send 11 2 64
isc_task_sendanddetach 16 4 104
dequeue_events 24 10 187
isc_task_purgerange 16 2 105
isc_task_purge 6 1 40
isc_task_purgeevent 19 5 121
isc_task_unsendrange 8 1 51
isc_task_unsend 7 1 48
isc_task_onshutdown 26 4 152
isc_task_shutdown 9 2 51
isc_task_destroy 5 1 26
isc_task_setname 10 2 89
isc_task_getname 3 1 15
isc_task_gettag 3 1 15
isc_task_getcurrenttime 7 1 50
dispatch 111 25 612
run 9 1 55
manager_free 11 2 84
isc_taskmgr_create 85 15 485
isc_taskmgr_destroy 38 8 256
isc__taskmgr_ready 5 2 31
isc__taskmgr_dispatch 7 2 33
isc_task_beginexclusive 16 4 101
isc_task_endexclusive 10 2 67
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/quota.c
Function nameLOCCyclomatic complexityToken count
isc_quota_init 6 1 40
isc_quota_destroy 7 1 43
isc_quota_soft 5 1 33
isc_quota_max 5 1 33
isc_quota_reserve 14 5 85
isc_quota_release 6 1 38
isc_quota_attach 9 4 54
isc_quota_detach 6 2 31
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/print.c
Function nameLOCCyclomatic complexityToken count
isc_print_sprintf 7 1 47
isc_print_snprintf 8 1 54
isc_print_vsnprintf 453 155 2275
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/result.c
Function nameLOCCyclomatic complexityToken count
register_table 21 2 139
initialize_action 13 2 68
initialize 4 1 23
isc_result_totext 24 5 149
isc_result_register 6 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/symtab.c
Function nameLOCCyclomatic complexityToken count
isc_symtab_create 31 5 205
isc_symtab_destroy 24 4 185
hash 17 4 111
isc_symtab_lookup 14 3 86
isc_symtab_define 30 6 221
isc_symtab_undefine 15 3 129
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/mutexblock.c
Function nameLOCCyclomatic complexityToken count
isc_mutexblock_init 16 4 86
isc_mutexblock_destroy 10 3 61
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/error.c
Function nameLOCCyclomatic complexityToken count
isc_error_setunexpected 6 2 22
isc_error_setfatal 6 2 22
isc_error_unexpected 6 1 47
isc_error_fatal 7 1 51
isc_error_runtimecheck 5 1 39
default_unexpected_callback 8 1 52
default_fatal_callback 10 1 63
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/md5.c
Function nameLOCCyclomatic complexityToken count
byteSwap 9 2 82
isc_md5_init 8 1 62
isc_md5_invalidate 3 1 20
transform 75 1 1491
isc_md5_update 24 4 201
isc_md5_final 21 2 214
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/ondestroy.c
Function nameLOCCyclomatic complexityToken count
isc_ondestroy_init 4 1 21
isc_ondestroy_register 15 1 90
isc_ondestroy_notify 13 2 86
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/string.c
Function nameLOCCyclomatic complexityToken count
isc_string_touint64 55 18 328
isc_string_copy 9 2 67
isc_string_copy_truncate 5 1 42
isc_string_append 10 2 77
isc_string_append_truncate 6 1 52
isc_string_printf 14 2 93
isc_string_printf_truncate 9 1 66
isc_string_regiondup 11 2 83
isc_string_separate 17 5 115
isc_string_strlcpy 19 8 109
isc_string_strlcat 22 6 126
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/mem.c
Function nameLOCCyclomatic complexityToken count
add_trace_entry 48 9 331
delete_trace_entry 37 8 240
rmsize 3 1 20
quantize 5 2 37
more_basic_blocks 54 11 391
more_frags 35 5 247
mem_getunlocked 33 10 247
check_overrun 10 2 54
mem_putunlocked 21 6 200
mem_get 12 7 80
mem_put 6 3 59
mem_getstats 11 2 80
mem_putstats 12 2 100
default_memalloc 6 2 34
default_memfree 4 1 22
initialize_action 4 1 22
isc_mem_createx 7 1 44
isc_mem_createx2 104 21 720
isc_mem_create 7 1 34
isc_mem_create2 7 1 38
destroy 49 15 415
isc_mem_attach 8 2 62
isc_mem_detach 16 3 97
isc__mem_putanddetach 45 9 318
isc_mem_destroy 14 3 91
isc_mem_ondestroy 7 1 58
isc__mem_get 33 12 259
isc__mem_put 37 10 275
print_active 34 8 210
isc_mem_stats 54 12 387
isc__mem_allocateunlocked 18 5 115
isc__mem_allocate 31 12 250
isc__mem_free 33 8 265
isc__mem_strdup 11 2 77
isc_mem_setdestroycheck 6 1 45
isc_mem_setquota 6 1 45
isc_mem_getquota 8 1 50
isc_mem_inuse 8 1 50
isc_mem_setwater 33 9 208
isc_mempool_create 26 4 185
isc_mempool_setname 10 4 76
isc_mempool_destroy 41 7 273
isc_mempool_associatelock 6 1 42
isc__mempool_get 54 12 339
isc__mempool_put 35 7 267
isc_mempool_setfreemax 8 3 56
isc_mempool_getfreemax 10 3 61
isc_mempool_getfreecount 10 3 61
isc_mempool_setmaxalloc 9 3 63
isc_mempool_getmaxalloc 10 3 61
isc_mempool_getallocated 10 3 61
isc_mempool_setfillcount 9 3 63
isc_mempool_getfillcount 10 3 61
isc_mem_printactive 7 2 44
isc_mem_printallactive 13 3 82
isc_mem_checkdestroyed 16 4 97
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/assertions.c
Function nameLOCCyclomatic complexityToken count
isc_assertion_setcallback 6 2 22
isc_assertion_typetotext 20 5 65
default_callback 10 1 58
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/event.c
Function nameLOCCyclomatic complexityToken count
destroy 4 1 27
isc_event_allocate 15 2 107
isc_event_free 9 2 53
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/timer_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/bufferlist.c
Function nameLOCCyclomatic complexityToken count
isc_bufferlist_usedcount 13 2 72
isc_bufferlist_availablecount 13 2 72
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/sha2.c
Function nameLOCCyclomatic complexityToken count
isc_sha224_init 9 2 50
isc_sha224_update 3 1 29
isc_sha224_final 6 1 48
isc_sha224_end 18 3 141
isc_sha224_data 8 1 48
isc_sha256_init 9 2 50
isc_sha256_transform 44 3 545
isc_sha256_transform 57 4 516
isc_sha256_update 37 7 255
isc_sha256_final 42 8 302
isc_sha256_end 18 3 141
isc_sha256_data 8 1 48
isc_sha512_init 9 2 60
isc_sha512_transform 43 3 543
isc_sha512_transform 56 4 514
isc_sha512_update 37 7 270
isc_sha512_last 28 5 241
isc_sha512_final 16 4 123
isc_sha512_end 18 3 141
isc_sha512_data 8 1 48
isc_sha384_init 9 2 60
isc_sha384_update 3 1 29
isc_sha384_final 16 4 127
isc_sha384_end 18 3 141
isc_sha384_data 8 1 48
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/base32.c
Function nameLOCCyclomatic complexityToken count
base32_totext 60 12 667
isc_base32_totext 6 1 38
isc_base32hex_totext 6 1 38
isc_base32hexnp_totext 6 1 38
base32_decode_init 11 1 66
base32_decode_char 68 27 565
base32_decode_finish 13 6 82
base32_tobuffer 27 8 187
isc_base32_tobuffer 3 1 31
isc_base32hex_tobuffer 3 1 31
isc_base32hexnp_tobuffer 3 1 31
base32_decodestring 16 7 107
isc_base32_decodestring 3 1 27
isc_base32hex_decodestring 3 1 27
isc_base32hexnp_decodestring 3 1 27
base32_decoderegion 13 2 89
isc_base32_decoderegion 3 1 26
isc_base32hex_decoderegion 3 1 26
isc_base32hexnp_decoderegion 3 1 26
str_totext 11 2 71
mem_tobuffer 9 2 63
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/taskpool.c
Function nameLOCCyclomatic complexityToken count
isc_taskpool_create 30 6 206
isc_taskpool_gettask 5 1 32
isc_taskpool_destroy 13 3 101
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/rwlock.c
Function nameLOCCyclomatic complexityToken count
print_lock 20 3 115
isc_rwlock_init 61 9 323
isc_rwlock_destroy 14 6 112
isc_rwlock_lock 57 14 385
isc_rwlock_trylock 32 9 215
isc_rwlock_tryupgrade 13 3 85
isc_rwlock_downgrade 12 2 101
isc_rwlock_unlock 39 12 265
doit 57 17 328
isc_rwlock_lock 3 1 23
isc_rwlock_trylock 3 1 23
isc_rwlock_tryupgrade 15 3 97
isc_rwlock_downgrade 14 6 110
isc_rwlock_unlock 47 12 302
isc_rwlock_init 11 1 56
isc_rwlock_lock 15 5 90
isc_rwlock_trylock 3 1 21
isc_rwlock_tryupgrade 11 2 63
isc_rwlock_downgrade 6 1 40
isc_rwlock_unlock 8 1 52
isc_rwlock_destroy 5 1 30
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/inet_ntop.c
Function nameLOCCyclomatic complexityToken count
isc_net_ntop 12 4 66
inet_ntop4 12 2 98
inet_ntop6 63 28 530
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/netscope.c
Function nameLOCCyclomatic complexityToken count
isc_netscope_pton 23 8 146
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/shuffle.c
Function nameLOCCyclomatic complexityToken count
isc_shuffle_init 11 2 74
isc_shuffle_generate16 17 2 109
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/strtoul.c
Function nameLOCCyclomatic complexityToken count
isc_strtoul 52 25 346
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/lfsr.c
Function nameLOCCyclomatic complexityToken count
isc_lfsr_init 18 5 131
lfsr_generate 16 5 107
isc_lfsr_generate 26 6 159
lfsr_skipgenerate 7 2 40
isc_lfsr_skip 6 2 33
isc_lfsr_generate32 12 1 79
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/fsaccess.c
Function nameLOCCyclomatic complexityToken count
isc_fsaccess_add 10 4 83
isc_fsaccess_remove 10 4 83
check_bad_bits 21 4 82
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/commandline.c
Function nameLOCCyclomatic complexityToken count
isc_commandline_parse 63 22 328
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/hash.c
Function nameLOCCyclomatic complexityToken count
isc_hash_ctxcreate 49 9 318
initialize_lock 3 1 17
isc_hash_create 11 2 84
isc_hash_ctxinit 30 5 195
isc_hash_init 4 2 22
isc_hash_ctxattach 6 2 47
destroy 19 4 143
isc_hash_ctxdetach 10 3 62
isc_hash_destroy 7 2 45
hash_calc 18 5 141
isc_hash_ctxcalc 7 2 56
isc_hash_calc 7 2 52
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/hmacsha.c
Function nameLOCCyclomatic complexityToken count
isc_hmacsha1_init 19 3 159
isc_hmacsha1_invalidate 3 1 21
isc_hmacsha1_update 5 1 30
isc_hmacsha1_sign 17 2 159
isc_hmacsha1_verify 6 1 56
isc_hmacsha224_init 19 3 159
isc_hmacsha224_invalidate 3 1 21
isc_hmacsha224_update 5 1 30
isc_hmacsha224_sign 16 2 154
isc_hmacsha224_verify 6 1 56
isc_hmacsha256_init 19 3 159
isc_hmacsha256_invalidate 3 1 21
isc_hmacsha256_update 5 1 30
isc_hmacsha256_sign 16 2 154
isc_hmacsha256_verify 6 1 56
isc_hmacsha384_init 19 3 159
isc_hmacsha384_invalidate 3 1 21
isc_hmacsha384_update 5 1 30
isc_hmacsha384_sign 16 2 154
isc_hmacsha384_verify 6 1 56
isc_hmacsha512_init 19 3 159
isc_hmacsha512_invalidate 3 1 21
isc_hmacsha512_update 5 1 30
isc_hmacsha512_sign 16 2 154
isc_hmacsha512_verify 6 1 56
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/entropy.c
Function nameLOCCyclomatic complexityToken count
samplequeue_release 8 1 72
samplesource_allocate 13 3 102
add_entropy 5 1 41
subtract_entropy 4 1 32
add_pseudo 5 1 45
subtract_pseudo 4 1 32
entropypool_add_word 13 2 180
entropypool_adddata 43 10 237
reseed 16 4 114
estimate_entropy 23 8 134
crunchsamples 22 5 217
get_from_callback 33 11 208
isc_entropy_getdata 73 12 504
isc_entropypool_init 7 1 45
isc_entropypool_invalidate 7 1 43
isc_entropy_create 27 4 176
destroysource 35 9 219
destroy_check 17 5 79
destroy 28 5 177
isc_entropy_destroysource 17 2 98
isc_entropy_createcallbacksource 46 5 282
isc_entropy_stopcallbacksources 18 5 116
isc_entropy_createsamplesource 35 5 225
addsample 10 3 72
isc_entropy_addsample 19 2 110
isc_entropy_addcallbacksample 11 1 65
isc_entropy_putdata 10 2 68
dumpstats 13 1 76
isc_entropy_stats 6 1 43
isc_entropy_attach 8 2 58
isc_entropy_detach 14 3 85
kbdstart 15 4 79
kbdstop 6 2 48
kbdget 24 4 136
isc_entropy_usebestsource 37 15 196
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/bitstring.c
Function nameLOCCyclomatic complexityToken count
isc_bitstring_init 12 1 75
isc_bitstring_invalidate 8 1 46
isc_bitstring_copy 35 6 216
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/ratelimiter.c
Function nameLOCCyclomatic complexityToken count
isc_ratelimiter_create 38 5 244
isc_ratelimiter_setinterval 11 2 75
isc_ratelimiter_setpertic 5 2 27
isc_ratelimiter_enqueue 32 8 209
ratelimiter_tick 30 4 176
isc_ratelimiter_shutdown 18 2 129
ratelimiter_shutdowncomplete 5 1 35
ratelimiter_free 4 1 31
isc_ratelimiter_attach 10 2 75
isc_ratelimiter_detach 13 3 76
isc_ratelimiter_stall 19 5 92
isc_ratelimiter_release 24 7 115
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/serial.c
Function nameLOCCyclomatic complexityToken count
isc_serial_lt 5 3 45
isc_serial_gt 3 2 30
isc_serial_le 3 2 28
isc_serial_ge 3 2 28
isc_serial_eq 3 2 23
isc_serial_ne 3 2 23
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/hex.c
Function nameLOCCyclomatic complexityToken count
isc_hex_totext 23 5 169
hex_decode_init 6 1 33
hex_decode_char 19 5 145
hex_decode_finish 7 3 39
isc_hex_tobuffer 25 6 162
isc_hex_decodestring 14 7 93
str_totext 11 2 71
mem_tobuffer 9 2 63
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/task_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/types.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/alist.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/util.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/ccmsg.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/sexpr.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/symtab.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/symtype.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/events.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/cc.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/lib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/base64.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/base64.c
Function nameLOCCyclomatic complexityToken count
isccc_base64_encode 16 2 116
isccc_base64_decode 10 2 73
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/lib.c
Function nameLOCCyclomatic complexityToken count
open_msgcat 3 1 14
isccc_lib_initmsgcat 3 1 19
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/result.c
Function nameLOCCyclomatic complexityToken count
initialize_action 9 2 41
initialize 4 1 23
isccc_result_totext 4 1 19
isccc_result_register 3 1 10
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/symtab.c
Function nameLOCCyclomatic complexityToken count
isccc_symtab_create 28 5 168
free_elt 7 2 66
isccc_symtab_destroy 20 3 125
hash 26 6 181
isccc_symtab_lookup 14 3 86
isccc_symtab_define 30 6 209
isccc_symtab_undefine 11 2 78
isccc_symtab_foreach 17 4 121
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/sexpr.c
Function nameLOCCyclomatic complexityToken count
isccc_sexpr_cons 11 2 63
isccc_sexpr_tconst 4 1 12
isccc_sexpr_fromstring 14 3 79
isccc_sexpr_frombinary 20 3 145
isccc_sexpr_free 26 7 120
printable 11 3 51
isccc_sexpr_print 48 11 270
isccc_sexpr_car 5 1 25
isccc_sexpr_cdr 5 1 25
isccc_sexpr_setcar 5 1 28
isccc_sexpr_setcdr 5 1 28
isccc_sexpr_addtolist 18 5 118
isccc_sexpr_listp 6 3 30
isccc_sexpr_emptyp 6 2 24
isccc_sexpr_stringp 6 3 30
isccc_sexpr_binaryp 6 3 30
isccc_sexpr_tostring 9 4 61
isccc_sexpr_tobinary 5 2 31
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/ccmsg.c
Function nameLOCCyclomatic complexityToken count
recv_length 42 6 256
recv_message 19 2 125
isccc_ccmsg_init 14 1 95
isccc_ccmsg_setmaxsize 4 1 26
isccc_ccmsg_readmessage 29 3 208
isccc_ccmsg_cancelread 4 1 27
isccc_ccmsg_freebuffer 8 2 63
isccc_ccmsg_invalidate 10 2 69
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/alist.c
Function nameLOCCyclomatic complexityToken count
isccc_alist_create 13 3 64
isccc_alist_alistp 12 6 78
isccc_alist_emptyp 7 2 35
isccc_alist_first 5 1 24
isccc_alist_assq 17 4 113
isccc_alist_delete 22 5 148
isccc_alist_define 24 5 143
isccc_alist_definestring 11 3 71
isccc_alist_definebinary 11 3 70
isccc_alist_lookup 8 2 45
isccc_alist_lookupstring 15 4 87
isccc_alist_lookupbinary 15 4 87
isccc_alist_prettyprint 40 7 292
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/cc.c
Function nameLOCCyclomatic complexityToken count
value_towire 45 10 325
table_towire 25 4 161
list_towire 11 3 58
sign 21 2 153
isccc_cc_towire 23 5 155
verify 32 5 228
value_fromwire 31 7 189
table_fromwire 48 12 271
list_fromwire 21 4 111
isccc_cc_fromwire 13 3 74
createmessage 45 16 273
isccc_cc_createmessage 7 1 52
isccc_cc_createack 35 9 236
isccc_cc_isack 10 3 55
isccc_cc_isreply 10 3 55
isccc_cc_createresponse 38 11 269
isccc_cc_definestring 9 1 63
isccc_cc_defineuint32 11 1 86
isccc_cc_lookupstring 15 4 87
isccc_cc_lookupuint32 18 4 97
symtab_undefine 8 1 39
symtab_clean 13 3 74
isccc_cc_createsymtab 5 1 24
isccc_cc_cleansymtab 4 1 21
has_whitespace 11 6 61
isccc_cc_checkdup 41 12 272
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/any_255/tsig_250.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/any_255/tsig_250.c
Function nameLOCCyclomatic complexityToken count
fromtext_any_tsig 64 12 523
totext_any_tsig 76 5 666
fromwire_any_tsig 38 7 296
towire_any_tsig 15 1 115
compare_any_tsig 25 2 187
fromstruct_any_tsig 29 3 262
tostruct_any_tsig 53 6 487
freestruct_any_tsig 14 4 111
additionaldata_any_tsig 8 1 44
digest_any_tsig 8 1 44
checkowner_any_tsig 9 1 45
checknames_any_tsig 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/hs_4/a_1.c
Function nameLOCCyclomatic complexityToken count
fromtext_hs_a 21 3 134
totext_hs_a 9 1 62
fromwire_hs_a 20 3 120
towire_hs_a 13 2 91
compare_hs_a 13 3 106
fromstruct_hs_a 13 1 89
tostruct_hs_a 16 1 112
freestruct_hs_a 4 1 18
additionaldata_hs_a 8 1 44
digest_hs_a 7 1 48
checkowner_hs_a 9 1 45
checknames_hs_a 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/hs_4/a_1.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/naptr_35.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/aaaa_28.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_aaaa 22 3 138
totext_in_aaaa 9 1 62
fromwire_in_aaaa 20 3 120
towire_in_aaaa 13 2 91
compare_in_aaaa 13 1 98
fromstruct_in_aaaa 11 1 81
tostruct_in_aaaa 16 1 121
freestruct_in_aaaa 7 1 46
additionaldata_in_aaaa 8 1 44
digest_in_aaaa 7 1 48
checkowner_in_aaaa 7 1 40
checknames_in_aaaa 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/px_26.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/nsap-ptr_23.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_nsap_ptr 17 2 115
totext_in_nsap_ptr 15 1 106
fromwire_in_nsap_ptr 10 1 65
towire_in_nsap_ptr 13 1 87
compare_in_nsap_ptr 19 1 138
fromstruct_in_nsap_ptr 13 1 90
tostruct_in_nsap_ptr 19 1 144
freestruct_in_nsap_ptr 10 2 69
additionaldata_in_nsap_ptr 8 1 44
digest_in_nsap_ptr 10 1 68
checkowner_in_nsap_ptr 9 1 45
checknames_in_nsap_ptr 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/srv_33.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_srv 40 10 311
totext_in_srv 32 1 269
fromwire_in_srv 16 2 110
towire_in_srv 14 1 100
compare_in_srv 25 3 190
fromstruct_in_srv 16 1 126
tostruct_in_srv 25 1 198
freestruct_in_srv 10 2 69
additionaldata_in_srv 12 1 81
digest_in_srv 14 1 101
checkowner_in_srv 9 1 45
checknames_in_srv 17 3 105
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/a6_38.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/kx_36.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_kx 22 3 159
totext_in_kx 22 1 169
fromwire_in_kx 16 2 110
towire_in_kx 15 1 109
compare_in_kx 25 3 190
fromstruct_in_kx 14 1 102
tostruct_in_kx 21 1 162
freestruct_in_kx 10 2 69
additionaldata_in_kx 12 1 81
digest_in_kx 14 1 101
checkowner_in_kx 9 1 45
checknames_in_kx 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/a_1.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_a 21 3 134
totext_in_a 9 1 62
fromwire_in_a 20 3 120
towire_in_a 13 2 91
compare_in_a 13 1 98
fromstruct_in_a 13 1 89
tostruct_in_a 16 1 112
freestruct_in_a 7 1 46
additionaldata_in_a 8 1 44
digest_in_a 7 1 48
checkowner_in_a 7 1 40
checknames_in_a 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/aaaa_28.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/a6_38.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_a6 48 11 350
totext_in_a6 40 3 314
fromwire_in_a6 34 6 230
towire_in_a6 22 2 154
compare_in_a6 42 7 291
fromstruct_in_a6 36 6 237
tostruct_in_a6 31 3 252
freestruct_in_a6 11 3 79
additionaldata_in_a6 8 1 44
digest_in_a6 22 3 150
checkowner_in_a6 7 1 40
checknames_in_a6 21 4 134
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/wks_11.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_wks 76 19 558
totext_in_wks 28 5 245
fromwire_in_wks 22 4 145
towire_in_wks 9 1 65
compare_in_wks 13 1 98
fromstruct_in_wks 16 2 132
tostruct_in_wks 23 2 177
freestruct_in_wks 11 3 76
additionaldata_in_wks 8 1 44
digest_in_wks 7 1 48
checkowner_in_wks 7 1 40
checknames_in_wks 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/srv_33.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/apl_42.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_apl 70 20 443
totext_in_apl 57 7 426
fromwire_in_apl 44 13 277
towire_in_apl 6 1 45
compare_in_apl 11 1 80
fromstruct_in_apl 14 2 126
tostruct_in_apl 17 2 126
freestruct_in_apl 11 3 76
dns_rdata_apl_first 7 3 66
dns_rdata_apl_next 9 4 96
dns_rdata_apl_current 17 4 192
additionaldata_in_apl 7 1 39
digest_in_apl 7 1 48
checkowner_in_apl 9 1 45
checknames_in_apl 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/a_1.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/kx_36.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/wks_11.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/nsap_22.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/nsap-ptr_23.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/apl_42.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/naptr_35.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_naptr 36 4 293
totext_in_naptr 33 1 282
fromwire_in_naptr 19 2 140
towire_in_naptr 21 1 217
compare_in_naptr 43 9 444
fromstruct_in_naptr 24 4 243
tostruct_in_naptr 58 11 480
freestruct_in_naptr 16 5 126
additionaldata_in_naptr 33 7 230
digest_in_naptr 29 2 197
checkowner_in_naptr 9 1 45
checknames_in_naptr 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/px_26.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_px 28 4 225
totext_in_px 27 1 228
fromwire_in_px 17 2 127
towire_in_px 19 1 151
compare_in_px 32 4 254
fromstruct_in_px 16 1 124
tostruct_in_px 30 2 230
freestruct_in_px 11 2 81
additionaldata_in_px 8 1 44
digest_in_px 23 3 166
checkowner_in_px 9 1 45
checknames_in_px 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/nsap_22.c
Function nameLOCCyclomatic complexityToken count
fromtext_in_nsap 42 10 264
totext_in_nsap 16 2 120
fromwire_in_nsap 15 2 94
towire_in_nsap 7 1 54
compare_in_nsap 13 1 98
fromstruct_in_nsap 12 2 96
tostruct_in_nsap 18 2 136
freestruct_in_nsap 11 3 76
additionaldata_in_nsap 8 1 44
digest_in_nsap 7 1 48
checkowner_in_nsap 9 1 45
checknames_in_nsap 8 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/ch_3/a_1.c
Function nameLOCCyclomatic complexityToken count
fromtext_ch_a 28 9 217
totext_ch_a 22 1 172
fromwire_ch_a 22 3 145
towire_ch_a 21 2 148
compare_ch_a 28 4 214
fromstruct_ch_a 13 1 98
tostruct_ch_a 20 1 162
freestruct_ch_a 9 2 58
additionaldata_ch_a 8 1 44
digest_ch_a 12 1 93
checkowner_ch_a 6 1 35
checknames_ch_a 16 3 97
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/ch_3/a_1.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec3param_51.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ipseckey_45.c
Function nameLOCCyclomatic complexityToken count
fromtext_ipseckey 63 14 443
totext_ipseckey 57 9 432
fromwire_ipseckey 35 8 258
towire_ipseckey 8 1 56
compare_ipseckey 12 1 89
fromstruct_ipseckey 32 6 216
tostruct_ipseckey 55 9 375
freestruct_ipseckey 12 4 85
additionaldata_ipseckey 7 1 35
digest_ipseckey 6 1 39
checkowner_ipseckey 8 1 38
checknames_ipseckey 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/loc_29.c
Function nameLOCCyclomatic complexityToken count
fromtext_loc 355 140 2444
totext_loc 93 10 700
fromwire_loc 43 20 381
towire_loc 6 1 45
compare_loc 12 1 89
fromstruct_loc 34 15 421
tostruct_loc 31 2 260
freestruct_loc 7 1 40
additionaldata_loc 7 1 35
digest_loc 6 1 39
checkowner_loc 8 1 38
checknames_loc 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/sshfp_44.c
Function nameLOCCyclomatic complexityToken count
fromtext_sshfp 21 3 153
totext_sshfp 24 3 215
fromwire_sshfp 13 2 82
towire_sshfp 8 1 56
compare_sshfp 12 1 89
fromstruct_sshfp 12 1 98
tostruct_sshfp 21 2 163
freestruct_sshfp 10 3 65
additionaldata_sshfp 7 1 35
digest_sshfp 6 1 39
checkowner_sshfp 8 1 38
checknames_sshfp 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ns_2.c
Function nameLOCCyclomatic complexityToken count
fromtext_ns 24 7 172
totext_ns 14 1 97
fromwire_ns 9 1 58
towire_ns 12 1 78
compare_ns 18 1 129
fromstruct_ns 12 1 83
tostruct_ns 18 1 135
freestruct_ns 8 2 47
additionaldata_ns 10 1 64
digest_ns 9 1 59
checkowner_ns 8 1 38
checknames_ns 15 3 88
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/key_25.c
Function nameLOCCyclomatic complexityToken count
fromtext_key 27 2 207
totext_key 43 7 399
fromwire_key 13 2 82
towire_key 8 1 56
compare_key 12 1 89
fromstruct_key 13 1 110
tostruct_key 29 5 220
freestruct_key 10 3 69
additionaldata_key 7 1 35
digest_key 6 1 39
checkowner_key 8 1 38
checknames_key 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mg_8.c
Function nameLOCCyclomatic complexityToken count
fromtext_mg 16 2 108
totext_mg 14 1 97
fromwire_mg 9 1 58
towire_mg 12 1 78
compare_mg 18 1 129
fromstruct_mg 12 1 83
tostruct_mg 18 1 135
freestruct_mg 9 2 58
additionaldata_mg 7 1 35
digest_mg 9 1 59
checkowner_mg 7 1 36
checknames_mg 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/md_3.c
Function nameLOCCyclomatic complexityToken count
fromtext_md 16 2 108
totext_md 14 1 97
fromwire_md 9 1 58
towire_md 12 1 78
compare_md 18 1 129
fromstruct_md 12 1 83
tostruct_md 18 1 135
freestruct_md 9 2 58
additionaldata_md 10 1 64
digest_md 9 1 59
checkowner_md 8 1 38
checknames_md 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/isdn_20.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/md_3.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/isdn_20.c
Function nameLOCCyclomatic complexityToken count
fromtext_isdn 21 3 135
totext_isdn 12 2 85
fromwire_isdn 11 2 65
towire_isdn 6 1 45
compare_isdn 12 1 89
fromstruct_isdn 13 1 114
tostruct_isdn 28 5 221
freestruct_isdn 11 4 73
additionaldata_isdn 7 1 35
digest_isdn 6 1 39
checkowner_isdn 8 1 38
checknames_isdn 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/sshfp_44.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mb_7.c
Function nameLOCCyclomatic complexityToken count
fromtext_mb 16 2 108
totext_mb 14 1 97
fromwire_mb 9 1 58
towire_mb 12 1 78
compare_mb 18 1 129
fromstruct_mb 12 1 83
tostruct_mb 18 1 135
freestruct_mb 8 2 47
additionaldata_mb 10 1 64
digest_mb 9 1 59
checkowner_mb 7 1 36
checknames_mb 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec_47.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/cname_5.c
Function nameLOCCyclomatic complexityToken count
fromtext_cname 16 2 108
totext_cname 14 1 97
fromwire_cname 9 1 58
towire_cname 12 1 78
compare_cname 18 1 129
fromstruct_cname 12 1 83
tostruct_cname 18 1 135
freestruct_cname 8 2 47
additionaldata_cname 7 1 35
digest_cname 9 1 59
checkowner_cname 8 1 38
checknames_cname 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dnskey_48.c
Function nameLOCCyclomatic complexityToken count
fromtext_dnskey 27 2 207
totext_dnskey 43 7 399
fromwire_dnskey 13 2 82
towire_dnskey 8 1 56
compare_dnskey 12 1 89
fromstruct_dnskey 13 1 110
tostruct_dnskey 29 5 220
freestruct_dnskey 10 3 69
additionaldata_dnskey 7 1 35
digest_dnskey 6 1 39
checkowner_dnskey 8 1 38
checknames_dnskey 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mr_9.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rrsig_46.c
Function nameLOCCyclomatic complexityToken count
fromtext_rrsig 58 8 474
totext_rrsig 65 5 572
fromwire_rrsig 18 2 136
towire_rrsig 16 1 128
compare_rrsig 12 1 89
fromstruct_rrsig 19 2 186
tostruct_rrsig 41 3 334
freestruct_rrsig 11 3 81
additionaldata_rrsig 7 1 35
digest_rrsig 7 1 35
covers_rrsig 8 1 44
checkowner_rrsig 8 1 38
checknames_rrsig 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/afsdb_18.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/tlsa_52.c
Function nameLOCCyclomatic complexityToken count
fromtext_tlsa 25 4 186
totext_tlsa 32 4 273
fromwire_tlsa 13 2 82
towire_tlsa 8 1 56
compare_tlsa 12 1 89
fromstruct_tlsa 13 1 110
tostruct_tlsa 23 2 181
freestruct_tlsa 10 3 65
additionaldata_tlsa 7 1 35
digest_tlsa 6 1 39
checkowner_tlsa 8 1 38
checknames_tlsa 7 1 35
casecompare_tlsa 3 1 16
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rrsig_46.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/tkey_249.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ptr_12.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/txt_16.c
Function nameLOCCyclomatic complexityToken count
fromtext_txt 23 5 123
totext_txt 12 3 75
fromwire_txt 14 3 73
towire_txt 11 2 75
compare_txt 10 1 71
fromstruct_txt 22 4 158
tostruct_txt 17 2 124
freestruct_txt 10 3 65
additionaldata_txt 7 1 35
digest_txt 6 1 39
checkowner_txt 8 1 38
checknames_txt 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/spf_99.c
Function nameLOCCyclomatic complexityToken count
fromtext_spf 23 5 123
totext_spf 12 3 75
fromwire_spf 14 3 73
towire_spf 11 2 75
compare_spf 10 1 71
fromstruct_spf 22 4 158
tostruct_spf 17 2 124
freestruct_spf 10 3 65
additionaldata_spf 7 1 35
digest_spf 6 1 39
checkowner_spf 8 1 38
checknames_spf 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mx_15.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mb_7.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/opt_41.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/tlsa_52.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/soa_6.c
Function nameLOCCyclomatic complexityToken count
fromtext_soa 47 11 302
totext_soa 56 9 464
fromwire_soa 24 3 166
towire_soa 26 2 187
compare_soa 33 3 258
fromstruct_soa 19 1 165
tostruct_soa 39 3 310
freestruct_soa 10 2 70
additionaldata_soa 7 1 35
digest_soa 15 1 126
checkowner_soa 8 1 38
checknames_soa 22 5 139
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ns_2.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ipseckey_45.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mf_4.c
Function nameLOCCyclomatic complexityToken count
fromtext_mf 16 2 108
totext_mf 14 1 97
fromwire_mf 9 1 58
towire_mf 12 1 78
compare_mf 18 1 129
fromstruct_mf 12 1 83
tostruct_mf 18 1 135
freestruct_mf 9 2 58
additionaldata_mf 10 1 64
digest_mf 9 1 59
checkowner_mf 8 1 38
checknames_mf 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/cert_37.c
Function nameLOCCyclomatic complexityToken count
fromtext_cert 25 2 189
totext_cert 27 3 237
fromwire_cert 13 2 82
towire_cert 8 1 56
compare_cert 12 1 89
fromstruct_cert 13 1 110
tostruct_cert 23 2 181
freestruct_cert 10 3 65
additionaldata_cert 7 1 35
digest_cert 6 1 39
checkowner_cert 8 1 38
checknames_cert 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nxt_30.c
Function nameLOCCyclomatic complexityToken count
fromtext_nxt 45 12 326
totext_nxt 35 6 257
fromwire_nxt 17 5 148
towire_nxt 14 1 106
compare_nxt 22 2 154
fromstruct_nxt 18 4 162
tostruct_nxt 27 3 206
freestruct_nxt 11 3 77
additionaldata_nxt 7 1 35
digest_nxt 14 2 97
checkowner_nxt 8 1 38
checknames_nxt 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/minfo_14.c
Function nameLOCCyclomatic complexityToken count
fromtext_minfo 29 8 188
totext_minfo 22 1 175
fromwire_minfo 12 1 86
towire_minfo 19 1 136
compare_minfo 29 2 216
fromstruct_minfo 14 1 105
tostruct_minfo 29 3 216
freestruct_minfo 10 2 70
additionaldata_minfo 7 1 35
digest_minfo 16 2 114
checkowner_minfo 8 1 38
checknames_minfo 22 5 137
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/minfo_14.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/afsdb_18.c
Function nameLOCCyclomatic complexityToken count
fromtext_afsdb 29 8 216
totext_afsdb 20 1 150
fromwire_afsdb 20 3 133
towire_afsdb 19 2 130
compare_afsdb 24 3 181
fromstruct_afsdb 13 1 95
tostruct_afsdb 20 1 153
freestruct_afsdb 9 2 58
additionaldata_afsdb 11 1 72
digest_afsdb 13 1 92
checkowner_afsdb 8 1 38
checknames_afsdb 16 3 96
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/loc_29.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rt_21.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mx_15.c
Function nameLOCCyclomatic complexityToken count
check_mx 13 5 113
fromtext_mx 36 13 275
totext_mx 21 1 160
fromwire_mx 15 2 103
towire_mx 14 1 100
compare_mx 24 3 181
fromstruct_mx 13 1 95
tostruct_mx 20 1 153
freestruct_mx 9 2 58
additionaldata_mx 11 1 72
digest_mx 13 1 92
checkowner_mx 6 1 33
checknames_mx 16 3 96
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/null_10.c
Function nameLOCCyclomatic complexityToken count
fromtext_null 11 1 53
totext_null 7 1 35
fromwire_null 11 1 69
towire_null 5 1 36
compare_null 10 1 71
fromstruct_null 11 2 89
tostruct_null 16 2 118
freestruct_null 10 3 65
additionaldata_null 7 1 35
digest_null 6 1 39
checkowner_null 8 1 38
checknames_null 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec_47.c
Function nameLOCCyclomatic complexityToken count
fromtext_nsec 41 8 306
totext_nsec 44 8 352
fromwire_nsec 39 11 271
towire_nsec 14 1 106
compare_nsec 12 1 89
fromstruct_nsec 29 5 245
tostruct_nsec 27 3 206
freestruct_nsec 11 3 77
additionaldata_nsec 7 1 35
digest_nsec 6 1 39
checkowner_nsec 8 1 38
checknames_nsec 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec3param_51.c
Function nameLOCCyclomatic complexityToken count
fromtext_nsec3param 37 5 281
totext_nsec3param 35 2 264
fromwire_nsec3param 21 3 135
towire_nsec3param 8 1 56
compare_nsec3param 12 1 89
fromstruct_nsec3param 16 1 127
tostruct_nsec3param 23 2 177
freestruct_nsec3param 10 3 65
additionaldata_nsec3param 7 1 35
digest_nsec3param 6 1 39
checkowner_nsec3param 8 1 38
checknames_nsec3param 7 1 35
casecompare_nsec3param 3 1 16
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/soa_6.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/txt_16.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nxt_30.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/unspec_103.c
Function nameLOCCyclomatic complexityToken count
fromtext_unspec 9 1 48
totext_unspec 5 1 36
fromwire_unspec 11 1 69
towire_unspec 5 1 36
compare_unspec 10 1 71
fromstruct_unspec 11 2 89
tostruct_unspec 16 2 118
freestruct_unspec 10 3 65
additionaldata_unspec 7 1 35
digest_unspec 6 1 39
checkowner_unspec 8 1 38
checknames_unspec 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/gpos_27.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec3_50.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec3_50.c
Function nameLOCCyclomatic complexityToken count
fromtext_nsec3 71 12 568
totext_nsec3 83 14 673
fromwire_nsec3 51 14 351
towire_nsec3 8 1 56
compare_nsec3 12 1 89
fromstruct_nsec3 33 5 315
tostruct_nsec3 36 5 294
freestruct_nsec3 14 5 103
additionaldata_nsec3 7 1 35
digest_nsec3 6 1 39
checkowner_nsec3 15 2 95
checknames_nsec3 7 1 35
casecompare_nsec3 3 1 16
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/cert_37.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/hinfo_13.c
Function nameLOCCyclomatic complexityToken count
fromtext_hinfo 17 2 94
totext_hinfo 10 1 72
fromwire_hinfo 9 1 53
towire_hinfo 6 1 45
compare_hinfo 12 1 89
fromstruct_hinfo 13 1 114
tostruct_hinfo 28 5 221
freestruct_hinfo 11 4 73
additionaldata_hinfo 7 1 35
digest_hinfo 6 1 39
checkowner_hinfo 8 1 38
checknames_hinfo 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rp_17.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/proforma.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/key_25.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/spf_99.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mg_8.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/tkey_249.c
Function nameLOCCyclomatic complexityToken count
fromtext_tkey 54 9 434
totext_tkey 72 7 625
fromwire_tkey 32 6 247
towire_tkey 14 1 106
compare_tkey 23 2 178
fromstruct_tkey 18 1 175
tostruct_tkey 44 6 367
freestruct_tkey 12 4 89
additionaldata_tkey 7 1 35
digest_tkey 7 1 35
checkowner_tkey 8 1 38
checknames_tkey 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/gpos_27.c
Function nameLOCCyclomatic complexityToken count
fromtext_gpos 17 2 94
totext_gpos 14 3 90
fromwire_gpos 11 2 64
towire_gpos 6 1 45
compare_gpos 12 1 89
fromstruct_gpos 15 1 142
tostruct_gpos 41 9 317
freestruct_gpos 14 5 103
additionaldata_gpos 7 1 35
digest_gpos 6 1 39
checkowner_gpos 8 1 38
checknames_gpos 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ds_43.c
Function nameLOCCyclomatic complexityToken count
fromtext_ds 33 5 231
totext_ds 28 3 255
fromwire_ds 21 8 159
towire_ds 8 1 56
compare_ds 12 1 89
fromstruct_ds 21 3 146
tostruct_ds 23 2 181
freestruct_ds 10 3 65
additionaldata_ds 7 1 35
digest_ds 6 1 39
checkowner_ds 8 1 38
checknames_ds 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dlv_32769.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ds_43.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/sig_24.c
Function nameLOCCyclomatic complexityToken count
fromtext_sig 58 8 474
totext_sig 65 5 572
fromwire_sig 18 2 136
towire_sig 16 1 128
compare_sig 35 3 262
fromstruct_sig 19 2 186
tostruct_sig 41 3 334
freestruct_sig 11 3 81
additionaldata_sig 7 1 35
digest_sig 7 1 35
covers_sig 8 1 44
checkowner_sig 8 1 38
checknames_sig 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/proforma.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rp_17.c
Function nameLOCCyclomatic complexityToken count
fromtext_rp 29 9 192
totext_rp 22 1 175
fromwire_rp 12 1 86
towire_rp 19 1 134
compare_rp 28 2 212
fromstruct_rp 14 1 105
tostruct_rp 29 3 216
freestruct_rp 10 2 70
additionaldata_rp 7 1 35
digest_rp 13 1 101
checkowner_rp 8 1 38
checknames_rp 15 3 86
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/opt_41.c
Function nameLOCCyclomatic complexityToken count
fromtext_opt 11 1 53
totext_opt 33 6 247
fromwire_opt 33 5 195
towire_opt 5 1 36
compare_opt 10 1 71
fromstruct_opt 25 5 179
tostruct_opt 17 2 124
freestruct_opt 10 3 65
additionaldata_opt 7 1 35
digest_opt 7 1 35
checkowner_opt 7 1 38
checknames_opt 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dname_39.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dname_39.c
Function nameLOCCyclomatic complexityToken count
fromtext_dname 16 2 108
totext_dname 14 1 97
fromwire_dname 9 1 58
towire_dname 12 1 78
compare_dname 18 1 129
fromstruct_dname 12 1 83
tostruct_dname 18 1 135
freestruct_dname 9 2 58
additionaldata_dname 7 1 35
digest_dname 9 1 59
checkowner_dname 8 1 38
checknames_dname 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/null_10.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rt_21.c
Function nameLOCCyclomatic complexityToken count
fromtext_rt 29 8 216
totext_rt 21 1 160
fromwire_rt 20 3 133
towire_rt 19 2 130
compare_rt 24 3 181
fromstruct_rt 13 1 95
tostruct_rt 20 1 153
freestruct_rt 9 2 58
additionaldata_rt 18 3 125
digest_rt 16 2 105
checkowner_rt 8 1 38
checknames_rt 16 3 96
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ptr_12.c
Function nameLOCCyclomatic complexityToken count
fromtext_ptr 26 9 182
totext_ptr 14 1 97
fromwire_ptr 9 1 58
towire_ptr 12 1 78
compare_ptr 18 1 129
fromstruct_ptr 12 1 83
tostruct_ptr 18 1 135
freestruct_ptr 9 2 58
additionaldata_ptr 7 1 35
digest_ptr 9 1 59
checkowner_ptr 8 1 38
checknames_ptr 20 7 124
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/hinfo_13.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mr_9.c
Function nameLOCCyclomatic complexityToken count
fromtext_mr 16 2 108
totext_mr 14 1 97
fromwire_mr 9 1 58
towire_mr 12 1 78
compare_mr 18 1 129
fromstruct_mr 12 1 83
tostruct_mr 18 1 135
freestruct_mr 9 2 58
additionaldata_mr 7 1 35
digest_mr 9 1 59
checkowner_mr 8 1 38
checknames_mr 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/x25_19.c
Function nameLOCCyclomatic complexityToken count
fromtext_x25 19 4 140
totext_x25 8 1 51
fromwire_x25 12 2 67
towire_x25 6 1 45
compare_x25 12 1 89
fromstruct_x25 18 5 152
tostruct_x25 18 2 137
freestruct_x25 10 3 65
additionaldata_x25 7 1 35
digest_x25 6 1 39
checkowner_x25 8 1 38
checknames_x25 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/sig_24.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dnskey_48.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/cname_5.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/unspec_103.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dlv_32769.c
Function nameLOCCyclomatic complexityToken count
fromtext_dlv 34 6 232
totext_dlv 28 3 255
fromwire_dlv 21 8 159
towire_dlv 8 1 56
compare_dlv 12 1 89
fromstruct_dlv 21 3 146
tostruct_dlv 23 2 181
freestruct_dlv 10 3 65
additionaldata_dlv 7 1 35
digest_dlv 6 1 39
checkowner_dlv 8 1 38
checknames_dlv 7 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mf_4.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/x25_19.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/rdatastructsuf.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/rdatastructpre.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dst/gssapi.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dst/dst.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dst/result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dst/lib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rootns.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/acache.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/adb.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/ncache.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/types.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/message.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/secproto.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdata.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/cache.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/fixedname.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/callbacks.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdataslab.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/sdlz.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/acl.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/dlz.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/keyflags.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/journal.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/masterdump.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdatasetiter.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/peer.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/tkey.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/opcode.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/ssu.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/ttl.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/dispatch.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/db.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/timer.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/name.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rcode.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/xfrin.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/ds.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/time.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/zonekey.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/portlist.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/validator.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/zone.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/resolver.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/byaddr.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/request.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/sdb.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdatatype.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdataset.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/view.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/diff.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/master.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/zt.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/tcpmsg.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdatalist.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/lookup.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/events.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/dbtable.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/keyvalues.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rbt.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/soa.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/bit.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/forward.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/stats.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/secalg.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/lib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/dbiterator.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/keytable.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdataclass.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/order.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/dnssec.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/cert.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/compress.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/tsig.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/nsec.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_result.c
Function nameLOCCyclomatic complexityToken count
initialize_action 8 2 41
initialize 4 1 23
dst_result_totext 4 1 19
dst_result_register 3 1 10
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rcode.c
Function nameLOCCyclomatic complexityToken count
str_totext 11 2 71
maybe_numeric 21 7 147
dns_mnemonic_fromtext 19 5 136
dns_mnemonic_totext 14 3 99
dns_rcode_fromtext 6 1 41
dns_rcode_totext 3 1 23
dns_tsigrcode_fromtext 6 1 41
dns_tsigrcode_totext 3 1 23
dns_cert_fromtext 6 1 41
dns_cert_totext 3 1 23
dns_secalg_fromtext 6 1 41
dns_secalg_totext 3 1 23
dns_secproto_fromtext 6 1 41
dns_secproto_totext 3 1 23
dns_hashalg_fromtext 6 1 42
dns_keyflags_fromtext 40 11 243
dns_rdataclass_fromtext 38 12 229
dns_rdataclass_totext 20 7 130
dns_rdataclass_format 18 4 98
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/db.c
Function nameLOCCyclomatic complexityToken count
initialize 16 1 109
impfind 9 3 58
dns_db_create 24 3 170
dns_db_attach 6 2 53
dns_db_detach 6 1 46
dns_db_ondestroy 5 1 39
dns_db_iscache 6 2 38
dns_db_iszone 6 2 42
dns_db_isstub 6 2 38
dns_db_issecure 5 1 43
dns_db_ispersistent 4 1 30
dns_db_origin 4 1 24
dns_db_class 4 1 23
dns_db_beginload 7 3 66
dns_db_endload 5 2 48
dns_db_load 3 1 25
dns_db_load2 20 6 157
dns_db_dump 4 1 37
dns_db_dump2 5 1 48
dns_db_currentversion 6 2 58
dns_db_newversion 6 2 61
dns_db_attachversion 10 2 79
dns_db_closeversion 9 2 71
dns_db_findnode 7 2 59
dns_db_find 18 7 155
dns_db_findzonecut 15 5 130
dns_db_attachnode 6 2 58
dns_db_detachnode 6 2 53
dns_db_expirenode 6 1 61
dns_db_printnode 5 1 46
dns_db_createiterator 7 2 51
dns_db_findrdataset 17 4 131
dns_db_allrdatasets 8 2 65
dns_db_addrdataset 20 8 181
dns_db_subtractrdataset 16 4 131
dns_db_deleterdataset 11 4 94
dns_db_overmem 4 1 32
dns_db_getsoaserial 34 5 239
dns_db_nodecount 4 1 30
dns_db_settask 4 1 33
dns_db_register 29 4 197
dns_db_unregister 13 2 95
dns_db_getoriginnode 8 3 73
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dispatch.c
Function nameLOCCyclomatic complexityToken count
mgr_log 12 2 82
dispatch_log 12 2 82
request_log 24 3 142
dispatch_arc4init 8 2 51
dispatch_arc4addrandom 13 2 121
dispatch_arc4get8 10 1 97
dispatch_arc4get16 6 1 33
dispatch_arc4stir 20 4 149
dispatch_arc4random 10 2 68
dispatch_arc4uniformrandom 15 5 83
dns_hash 10 1 63
linear_first 12 3 61
linear_next 16 4 90
destroy_disp_ok 10 4 52
destroy_disp 22 2 141
bucket_search 15 5 102
free_buffer 21 4 141
allocate_udp_buffer 9 2 61
free_event 8 2 50
allocate_event 9 2 66
udp_recv 145 24 1083
tcp_recv 108 14 690
startrecv 46 10 257
destroy_mgr_ok 20 6 136
destroy_mgr 28 5 198
create_socket 19 3 106
dns_dispatchmgr_create 84 11 541
dns_dispatchmgr_setblackhole 6 2 46
dns_dispatchmgr_getblackhole 4 1 23
dns_dispatchmgr_setblackportlist 9 3 52
dns_dispatchmgr_getblackportlist 4 1 23
dns_dispatchmgr_setudp 39 6 263
dns_dispatchmgr_destroy 15 2 94
blacklisted 20 7 114
local_addr_match 21 10 157
dispatch_find 27 6 142
qid_allocate 35 6 254
qid_destroy 12 1 86
dispatch_allocate 44 5 264
dispatch_free 25 3 164
dns_dispatch_createtcp 59 5 406
dns_dispatch_getudp 59 11 391
dispatch_createudp 117 25 712
dns_dispatch_attach 8 2 58
dns_dispatch_detach 22 5 148
dns_dispatch_addresponse 77 10 522
dns_dispatch_starttcp 8 1 59
dns_dispatch_removeresponse 79 12 527
do_cancel 29 5 199
dns_dispatch_getsocket 4 1 23
dns_dispatch_getlocaladdress 9 2 54
dns_dispatch_cancel 13 2 71
dns_dispatch_changeattributes 23 7 151
dns_dispatch_importrecv 30 3 230
dns_dispatchmgr_dump 10 2 68
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rbtdb.c
Function nameLOCCyclomatic complexityToken count
attach 6 1 45
free_rbtdb_callback 5 1 34
adjust_quantum 30 7 171
free_rbtdb 74 17 552
maybe_free_rbtdb 37 9 274
detach 9 2 60
currentversion 11 1 84
allocate_version 20 3 124
newversion 21 4 149
attachversion 11 1 67
add_changed 19 2 126
free_acachearray 14 4 114
free_noqname 12 4 128
free_rdataset 13 3 104
rollback_node 20 6 113
clean_stale_headers 8 2 56
clean_cache_node 19 4 126
clean_zone_node 80 18 433
new_reference 11 2 74
decrement_reference 89 28 557
make_least_version 7 1 38
cleanup_nondirty 14 3 79
iszonesecure 37 7 213
closeversion 118 20 719
add_wildcard_magic 18 3 115
add_empty_wildcards 25 6 159
findnode 49 9 345
zone_zonecut_callback 74 21 443
bind_rdataset 30 5 212
setup_delegation 36 9 231
valid_glue 41 10 233
activeempty 47 12 287
activeemtpynode 95 26 624
find_wildcard 101 24 548
find_closest_nsec 92 24 494
zone_find 272 84 1605
zone_findzonecut 16 1 89
cache_zonecut_callback 65 15 392
find_deepest_zonecut 112 23 585
find_coveringnsec 99 19 548
cache_find 195 54 1182
cache_findzonecut 101 19 650
attachnode 12 2 110
detachnode 40 9 271
expirenode 54 14 354
overmem 6 2 36
printnode 36 5 219
createiterator 27 2 206
zone_findrdataset 67 17 414
cache_findrdataset 66 19 419
allrdatasets 42 5 297
cname_and_other_data 46 20 243
add 230 79 1399
delegating_type 14 7 77
addnoqname 43 5 276
addrdataset 66 15 456
subtractrdataset 120 22 793
deleterdataset 38 9 280
loading_addrdataset 55 15 389
beginload 22 3 154
endload 19 2 161
dump 9 1 63
delete_callback 8 2 58
issecure 10 1 62
nodecount 10 1 66
settask 11 3 84
ispersistent 4 1 18
getoriginnode 18 3 134
dns_rbtdb_create 132 21 945
rdataset_disassociate 5 1 32
rdataset_first 17 4 101
rdataset_next 18 5 106
rdataset_current 17 5 142
rdataset_clone 9 1 62
rdataset_count 6 1 40
rdataset_getnoqname 38 1 262
rdatasetiter_destroy 11 2 91
rdatasetiter_first 38 11 247
rdatasetiter_next 54 15 346
rdatasetiter_current 14 1 116
reference_iter_node 10 2 84
dereference_iter_node 13 2 91
flush_deletions 37 5 231
resume_iteration 8 1 60
dbiterator_destroy 18 2 143
dbiterator_first 30 7 198
dbiterator_last 30 7 198
dbiterator_seek 29 7 203
dbiterator_prev 23 6 166
dbiterator_next 23 6 166
dbiterator_current 43 12 333
dbiterator_pause 17 5 113
dbiterator_origin 7 2 61
rdataset_getadditional 59 7 347
acache_callback 36 4 252
acache_cancelentry 14 2 93
rdataset_setadditional 110 17 693
rdataset_putadditional 55 8 330
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdatalist_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/tcpmsg.c
Function nameLOCCyclomatic complexityToken count
recv_length 44 6 275
recv_message 20 2 140
dns_tcpmsg_init 14 1 95
dns_tcpmsg_setmaxsize 5 1 33
dns_tcpmsg_readmessage 29 3 208
dns_tcpmsg_cancelread 4 1 27
dns_tcpmsg_keepbuffer 7 1 50
dns_tcpmsg_freebuffer 8 2 63
dns_tcpmsg_invalidate 10 2 69
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/log.c
Function nameLOCCyclomatic complexityToken count
dns_log_init 5 1 29
dns_log_setcontext 3 1 12
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/gen-unix.h
Function nameLOCCyclomatic complexityToken count
start_directory 7 2 41
next_file 13 4 71
end_directory 5 2 32
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/peer.c
Function nameLOCCyclomatic complexityToken count
dns_peerlist_new 13 2 82
dns_peerlist_attach 8 1 54
dns_peerlist_detach 12 2 74
peerlist_delete 18 2 122
dns_peerlist_addpeer 13 4 93
dns_peerlist_peerbyaddr 22 4 111
dns_peerlist_currpeer 6 1 39
dns_peer_new 15 3 76
dns_peer_newprefix 27 2 174
dns_peer_attach 8 1 54
dns_peer_detach 12 2 74
peer_delete 21 3 142
dns_peer_setbogus 8 2 59
dns_peer_getbogus 9 2 59
dns_peer_setprovideixfr 8 2 59
dns_peer_getprovideixfr 10 2 61
dns_peer_setrequestixfr 8 2 59
dns_peer_getrequestixfr 9 2 59
dns_peer_setsupportedns 8 2 59
dns_peer_getsupportedns 9 2 59
dns_peer_settransfers 8 2 59
dns_peer_gettransfers 10 2 61
dns_peer_settransferformat 9 2 59
dns_peer_gettransferformat 10 2 61
dns_peer_getkey 8 3 57
dns_peer_setkey 11 3 79
dns_peer_setkeybycharp 26 5 198
dns_peer_settransfersource 18 4 109
dns_peer_gettransfersource 8 2 53
dns_peer_setnotifysource 18 4 109
dns_peer_getnotifysource 8 2 53
dns_peer_setquerysource 16 4 109
dns_peer_getquerysource 8 2 53
dns_peer_setudpsize 8 2 59
dns_peer_getudpsize 10 2 61
dns_peer_setmaxudp 8 2 59
dns_peer_getmaxudp 10 2 61
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rbtdb.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/ttl.c
Function nameLOCCyclomatic complexityToken count
ttlfmt 21 6 166
dns_ttl_totext 38 12 316
dns_counter_fromtext 3 1 22
dns_ttl_fromtext 7 2 39
bind_ttl 58 17 289
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rootns.c
Function nameLOCCyclomatic complexityToken count
in_rootns 20 6 124
check_node 32 9 154
check_hints 46 11 288
dns_rootns_create 49 12 321
report 32 4 217
inrrset 13 3 78
check_address_records 86 27 641
dns_root_checkhints 90 13 573
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_parse.c
Function nameLOCCyclomatic complexityToken count
find_value 10 5 85
find_tag 9 4 61
check_rsa 13 6 97
check_dh 13 6 97
check_dsa 13 6 97
check_hmac_md5 17 9 128
check_hmac_sha 15 6 106
check_data 27 11 154
dst__privstruct_free 12 4 93
dst__privstruct_parse 98 24 614
dst__privstruct_writefile 83 16 497
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/tsig.c
Function nameLOCCyclomatic complexityToken count
tsig_log 16 3 123
dns_tsigkey_createfromkey 161 47 1035
dns_tsigkey_create 98 23 581
dns_tsigkey_attach 6 2 47
tsigkey_free 17 4 147
dns_tsigkey_detach 11 2 64
dns_tsigkey_setdeleted 7 1 68
buffer_putuint48 8 1 54
dns_tsig_sign 220 42 1444
dns_tsig_verify 228 63 1610
tsig_verify_tcp 155 28 1015
dns_tsigkey_find 34 7 258
free_tsignode 7 1 38
dns_tsigkeyring_create 25 4 174
dns_tsigkeyring_destroy 10 1 67
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/callbacks.c
Function nameLOCCyclomatic complexityToken count
stdio_error_warn_callback 10 1 51
isclog_error_callback 9 1 50
isclog_warn_callback 9 1 50
dns_rdatacallbacks_initcommon 7 1 39
dns_rdatacallbacks_init 5 1 25
dns_rdatacallbacks_init_stdio 5 1 25
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/zonekey.c
Function nameLOCCyclomatic complexityToken count
dns_zonekey_iszonekey 17 6 104
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/lib.c
Function nameLOCCyclomatic complexityToken count
open_msgcat 3 1 14
dns_lib_initmsgcat 3 1 19
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/name.c
Function nameLOCCyclomatic complexityToken count
dns_name_init 3 1 20
dns_name_reset 5 1 29
dns_name_invalidate 11 1 65
dns_name_setbuffer 6 3 47
dns_name_hasbuffer 6 2 35
dns_name_isabsolute 6 2 39
dns_name_ismailbox 37 11 218
dns_name_ishostname 30 11 187
dns_name_iswildcard 11 4 73
dns_name_internalwildcard 21 4 119
name_hash 25 5 126
dns_name_hash 6 2 42
dns_name_fullhash 7 2 54
dns_fullname_hash 4 1 29
dns_name_hashbylabel 25 5 184
dns_name_fullcompare 69 12 404
dns_name_compare 6 1 42
dns_name_equal 30 7 191
dns_name_caseequal 11 3 93
dns_name_rdatacompare 36 9 261
dns_name_issubdomain 10 3 59
dns_name_matcheswildcard 17 2 122
dns_name_countlabels 5 1 33
dns_name_getlabel 14 2 122
dns_name_getlabelsequence 33 9 228
dns_name_clone 18 4 132
dns_name_fromregion 32 7 224
dns_name_toregion 5 1 34
dns_name_fromtext 204 49 1058
free_specific 5 1 37
thread_key_mutex_init 3 1 17
totext_filter_proc_key_init 24 7 124
dns_name_totext 118 38 606
dns_name_tofilenametext 80 27 427
dns_name_downcase 59 15 395
set_offsets 37 5 190
dns_name_fromwire 114 27 617
dns_name_towire 51 12 365
dns_name_concatenate 84 31 541
dns_name_split 24 10 153
dns_name_dup 26 5 186
dns_name_dupwithoffsets 26 4 204
dns_name_free 10 2 76
dns_name_digest 16 2 116
dns_name_dynamic 5 2 33
dns_name_print 14 2 107
dns_name_settotextfilter 31 9 181
dns_name_format 13 2 100
dns_name_copy 31 8 246
dns_name_destroy 11 3 52
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdatalist.c
Function nameLOCCyclomatic complexityToken count
dns_rdatalist_init 8 1 46
dns_rdatalist_tordataset 18 1 116
isc__rdatalist_disassociate 3 1 13
isc__rdatalist_first 8 2 47
isc__rdatalist_next 10 3 58
isc__rdatalist_current 6 1 36
isc__rdatalist_clone 4 1 24
isc__rdatalist_count 12 2 62
isc__rdatalist_addnoqname 29 10 179
isc__rdatalist_getnoqname 28 8 175
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/timer.c
Function nameLOCCyclomatic complexityToken count
dns_timer_setidle 15 1 87
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/diff.c
Function nameLOCCyclomatic complexityToken count
rdata_covers 4 2 24
dns_difftuple_create 33 3 257
dns_difftuple_free 8 1 51
dns_difftuple_copy 4 1 42
dns_diff_init 5 1 31
dns_diff_clear 9 2 64
dns_diff_append 5 1 29
dns_diff_appendminimal 30 7 200
diff_apply 93 18 542
dns_diff_apply 3 1 30
dns_diff_applysilently 3 1 30
dns_diff_load 51 12 319
dns_diff_sort 29 6 230
diff_tuple_tordataset 17 1 127
dns_diff_print 61 12 388
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/key.c
Function nameLOCCyclomatic complexityToken count
dst_region_computeid 17 4 159
dst_key_name 4 1 24
dst_key_size 4 1 24
dst_key_proto 4 1 24
dst_key_alg 4 1 24
dst_key_flags 4 1 24
dst_key_id 4 1 24
dst_key_class 4 1 24
dst_key_iszonekey 11 5 75
dst_key_isnullkey 11 5 75
dst_key_setbits 10 2 61
dst_key_getbits 4 1 24
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata.c
Function nameLOCCyclomatic complexityToken count
getquad 17 5 110
name_duporclone 6 2 46
mem_maybedup 9 3 59
dns_rdata_init 9 1 52
dns_rdata_reset 10 1 64
dns_rdata_clone 12 1 91
dns_rdata_compare 23 8 181
dns_rdata_fromregion 13 1 82
dns_rdata_toregion 7 1 51
dns_rdata_fromwire 47 10 252
dns_rdata_towire 30 5 178
rdata_validate 13 1 82
unknown_fromtext 38 10 239
dns_rdata_fromtext 85 21 523
rdata_totext 38 10 262
dns_rdata_totext 10 1 64
dns_rdata_tofmttext 17 2 103
dns_rdata_fromstruct 27 6 149
dns_rdata_tostruct 10 2 56
dns_rdata_freestruct 5 1 22
dns_rdata_additionaldata 13 2 61
dns_rdata_digest 14 2 82
dns_rdata_checkowner 7 1 26
dns_rdata_checknames 6 1 25
dns_rdatatype_attributes 7 3 36
dns_rdatatype_fromtext 25 7 216
dns_rdatatype_totext 6 1 45
dns_rdatatype_format 18 4 98
name_length 3 1 15
txt_totext 47 12 306
txt_fromtext 56 14 326
txt_fromwire 18 4 118
name_prefix 18 5 111
str_totext 11 2 71
inet_totext 9 3 75
buffer_empty 3 2 25
buffer_fromregion 5 1 43
uint32_tobuffer 8 2 47
uint16_tobuffer 10 3 61
uint8_tobuffer 10 3 61
name_tobuffer 5 1 34
uint32_fromregion 9 1 70
uint16_consume_fromregion 5 1 26
uint16_fromregion 4 1 39
uint8_fromregion 4 1 27
uint8_consume_fromregion 5 1 26
mem_tobuffer 9 2 63
hexvalue 12 4 79
decvalue 8 3 53
byte_atob 33 6 256
putbyte 19 3 104
atob_tobuffer 39 10 330
byte_btoa 53 8 367
btoa_totext 12 3 127
default_fromtext_callback 10 1 51
fromtext_warneof 10 4 64
warn_badmx 13 2 74
warn_badname 15 2 88
fromtext_error 42 8 232
dns_rdata_covers 5 2 32
dns_rdatatype_ismeta 5 2 30
dns_rdatatype_issingleton 6 2 30
dns_rdatatype_notquestion 6 2 30
dns_rdatatype_questiononly 6 2 30
dns_rdatatype_atparent 5 2 30
dns_rdataclass_ismeta 7 4 31
dns_rdatatype_isdnssec 5 2 30
dns_rdatatype_iszonecutauth 7 2 34
dns_rdatatype_isknown 6 2 30
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/result.c
Function nameLOCCyclomatic complexityToken count
initialize_action 13 3 62
initialize 4 1 23
dns_result_totext 4 1 19
dns_result_register 3 1 10
dns_result_torcode 42 25 145
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_parse.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rbt.c
Function nameLOCCyclomatic complexityToken count
Name 7 2 38
find_up 6 2 40
dns_rbt_create 27 7 187
dns_rbt_destroy 3 1 20
dns_rbt_destroy2 16 4 128
dns_rbt_nodecount 4 1 23
chain_name 22 6 150
move_chain_to_last 12 4 72
dns_rbt_addnode 150 23 938
dns_rbt_addname 14 4 92
dns_rbt_findnode 237 50 1249
dns_rbt_findname 14 5 108
dns_rbt_deletename 16 4 111
dns_rbt_deletenode 29 9 207
dns_rbt_namefromnode 6 1 43
dns_rbt_fullnamefromnode 18 3 116
dns_rbt_formatnodename 17 2 99
create_node 36 4 264
hash_add_node 7 1 64
inithash 10 2 72
rehash 30 5 213
hash_node 6 2 52
unhash_node 18 4 117
rotate_left 24 5 166
rotate_right 24 5 166
dns_rbt_addonlevel 79 14 477
dns_rbt_deletefromlevel 129 33 881
dns_rbt_deletetree 34 12 232
dns_rbt_deletetreeflat 45 14 263
dns_rbt_indent 5 2 28
dns_rbt_printnodename 12 1 78
dns_rbt_printtree 41 15 275
dns_rbt_printall 4 1 27
dns_rbtnodechain_init 8 1 49
dns_rbtnodechain_current 26 7 154
dns_rbtnodechain_prev 56 19 340
dns_rbtnodechain_next 59 21 348
dns_rbtnodechain_first 13 2 80
dns_rbtnodechain_last 15 3 94
dns_rbtnodechain_reset 6 1 34
dns_rbtnodechain_invalidate 4 1 19
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dlz.c
Function nameLOCCyclomatic complexityToken count
dlz_initialize 4 1 25
dlz_impfind 9 3 58
dns_dlzallowzonexfr 18 3 123
dns_dlzcreate 51 5 355
dns_dlzdestroy 16 3 125
dns_dlzfindzone 33 7 218
dns_dlzregister 43 4 288
dns_dlzstrtoargvsub 43 17 269
dns_dlzstrtoargv 5 1 38
dns_dlzunregister 16 2 111
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdataslab.c
Function nameLOCCyclomatic complexityToken count
compare_rdata 5 1 46
fillin_offsets 18 3 160
dns_rdataslab_fromrdataset 93 30 746
rdataset_disassociate 3 1 13
rdataset_first 15 3 88
rdataset_next 16 3 90
rdataset_current 10 2 77
rdataset_clone 5 1 30
rdataset_count 6 1 40
dns_rdataslab_tordataset 19 1 114
dns_rdataslab_size 17 4 107
rdata_from_slab 14 2 81
rdata_in_slab 23 5 138
dns_rdataslab_merge 157 45 1092
dns_rdataslab_subtract 96 27 712
dns_rdataslab_equal 32 7 187
dns_rdataslab_equalx 28 5 185
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/byaddr.c
Function nameLOCCyclomatic complexityToken count
dns_byaddr_createptrname 7 1 32
dns_byaddr_createptrname2 38 5 297
copy_ptr_targets 31 6 206
lookup_done 17 2 129
bevent_destroy 17 2 118
dns_byaddr_create 53 6 364
dns_byaddr_cancel 10 3 62
dns_byaddr_destroy 13 1 92
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/view.c
Function nameLOCCyclomatic complexityToken count
dns_view_create 153 14 947
destroy 88 26 700
all_done 7 6 51
dns_view_attach 6 2 47
view_flushanddetach 31 9 193
dns_view_flushanddetach 3 1 15
dns_view_detach 3 1 15
dialup 5 1 27
dns_view_dialup 4 1 32
dns_view_weakattach 8 2 58
dns_view_weakdetach 15 2 88
resolver_shutdown 15 2 98
adb_shutdown 15 2 98
req_shutdown 15 2 98
dns_view_createresolver 60 6 398
dns_view_setcache 15 4 122
dns_view_sethints 7 1 55
dns_view_setkeyring 7 2 49
dns_view_setdstport 4 1 25
dns_view_addzone 7 1 47
dns_view_freeze 9 2 56
dns_view_findzone 10 2 66
dns_view_find 150 53 934
dns_view_simplefind 34 16 186
dns_view_findzonecut 9 1 58
dns_view_findzonecut2 116 37 678
dns_viewlist_find 16 5 100
dns_view_load 4 1 31
dns_view_loadnew 4 1 31
dns_view_gettsig 11 3 72
dns_view_getpeertsig 14 3 89
dns_view_checksig 6 1 49
dns_view_dumpdbtostream 11 2 82
dns_view_flushcache 17 5 122
dns_view_flushname 8 3 62
dns_view_adddelegationonly 31 9 238
dns_view_excludedelegationonly 31 9 238
dns_view_isdelegationonly 25 13 194
dns_view_setrootdelonly 4 1 25
dns_view_getrootdelonly 4 1 23
dns_view_freezezones 4 1 31
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdatasetiter.c
Function nameLOCCyclomatic complexityToken count
dns_rdatasetiter_destroy 6 1 44
dns_rdatasetiter_first 4 1 28
dns_rdatasetiter_next 4 1 28
dns_rdatasetiter_current 8 1 48
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/validator.c
Function nameLOCCyclomatic complexityToken count
markanswer 7 3 60
validator_done 12 2 92
exit_check 8 4 54
isdelegation 27 5 147
fetch_callback_validator 51 11 337
dsfetched 58 13 368
dsfetched2 64 19 415
keyvalidated 37 6 249
dsvalidated 38 6 242
nsecnoexistnodata 118 28 740
authvalidated 68 20 428
view_find 95 28 650
check_deadlock 15 5 89
create_fetch 18 4 137
create_validator 18 3 130
get_dst_key 51 12 289
get_key 65 22 404
compute_keytag 5 1 36
isselfsigned 33 5 199
verify 33 9 196
validate 128 26 736
dlv_validatezonekey 132 25 791
validatezonekey 244 53 1424
start_positive_validation 5 3 42
checkwildcard 63 23 387
nsecvalidate 105 32 646
check_ds 20 4 125
dlvfetched 62 13 427
startfinddlvsep 31 4 217
finddlvsep 83 18 574
proveunsecure 171 42 996
dlv_validator_start 8 1 56
validator_start 67 16 451
dns_validator_create 82 9 547
dns_validator_send 10 1 78
dns_validator_cancel 19 5 138
destroy 27 9 225
dns_validator_destroy 15 2 92
validator_logv 24 4 194
validator_log 9 2 60
validator_logcreate 11 1 81
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_openssl.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dnssec.c
Function nameLOCCyclomatic complexityToken count
digest_callback 4 1 28
rdata_compare_wrapper 4 1 34
rdataset_to_sortedarray 24 4 163
dns_dnssec_keyfromrdata 17 2 128
digest_sig 17 2 119
dns_dnssec_sign 124 20 937
dns_dnssec_verify2 108 24 792
dns_dnssec_verify 11 2 64
dns_dnssec_findzonekeys2 68 15 405
dns_dnssec_findzonekeys 8 1 61
dns_dnssec_signmessage 96 7 715
dns_dnssec_verifymessage 86 12 583
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdataset.c
Function nameLOCCyclomatic complexityToken count
dns_rdataset_init 19 1 112
dns_rdataset_invalidate 18 1 110
dns_rdataset_disassociate 20 1 127
dns_rdataset_isassociated 6 2 34
question_disassociate 3 1 13
question_cursor 4 1 18
question_current 5 1 27
question_clone 3 1 18
question_count 5 1 23
dns_rdataset_makequestion 10 1 56
dns_rdataset_count 5 1 39
dns_rdataset_clone 7 1 59
dns_rdataset_first 5 1 39
dns_rdataset_next 5 1 39
dns_rdataset_current 5 1 42
towire_compare 5 1 53
towiresorted 186 46 1240
dns_rdataset_towiresorted 13 1 64
dns_rdataset_towirepartial 15 1 75
dns_rdataset_towire 10 1 55
dns_rdataset_additionaldata 21 5 127
dns_rdataset_addnoqname 7 2 60
dns_rdataset_getnoqname 9 2 72
dns_rdataset_getadditional 29 7 179
dns_rdataset_setadditional 20 3 106
dns_rdataset_putadditional 13 3 76
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/time.c
Function nameLOCCyclomatic complexityToken count
dns_time64_totext 46 8 297
dns_time32_totext 15 2 78
dns_time64_fromtext 29 10 270
dns_time32_fromtext 9 2 53
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/gssapi_link.c
Function nameLOCCyclomatic complexityToken count
gssapi_createctx 18 3 117
gssapi_destroyctx 9 3 60
gssapi_adddata 20 3 149
gssapi_sign 19 3 135
gssapi_verify 13 2 95
gssapi_compare 5 1 38
gssapi_generate 5 1 26
gssapi_isprivate 4 1 19
gssapi_destroy 3 1 13
dst__gssapi_init 6 2 33
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/gen.c
Function nameLOCCyclomatic complexityToken count
upper 15 4 103
funname 9 3 58
doswitch 67 15 404
dodecl 17 3 113
find_typename 9 4 62
insert_into_typenames 53 16 416
add 58 18 434
sd 21 7 177
HASH 12 2 88
main 306 57 1988
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_api.c
Function nameLOCCyclomatic complexityToken count
default_memalloc 6 2 34
default_memfree 4 1 22
dst_lib_init 34 7 279
dst_lib_destroy 13 7 88
dst_algorithm_supported 6 3 38
dst_context_create 25 6 174
dst_context_destroy 10 2 79
dst_context_adddata 6 1 57
dst_context_sign 15 5 112
dst_context_verify 10 3 84
dst_key_computesecret 18 8 139
dst_key_tofile 19 6 142
dst_key_fromfile 38 8 251
dst_key_fromnamedfile 74 14 518
dst_key_todns 23 6 183
dst_key_fromdns 31 5 193
dst_key_frombuffer 20 3 118
dst_key_tobuffer 9 2 71
dst_key_privatefrombuffer 17 3 127
dst_key_fromgssapi 14 3 89
dst_key_generate 38 7 230
dst_key_compare 16 8 113
dst_key_paramcompare 15 7 105
dst_key_free 17 3 129
dst_key_isprivate 5 1 40
dst_key_buildfilename 8 3 68
dst_key_sigsize 39 12 160
dst_key_secretsize 10 2 68
get_key_struct 34 4 241
dst_key_read_public 74 18 520
issymmetric 16 7 67
write_public_key 57 9 431
buildfilename 35 10 245
computeid 13 2 86
frombuffer 32 7 208
algorithm_status 10 7 59
addsuffix 18 9 149
dst__entropy_getdata 6 2 45
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/compress.c
Function nameLOCCyclomatic complexityToken count
dns_compress_init 13 2 90
dns_compress_invalidate 17 4 121
dns_compress_setmethods 5 1 36
dns_compress_getmethods 4 1 25
dns_compress_setsensitive 7 2 36
dns_compress_getsensitive 4 1 32
dns_compress_getedns 4 1 23
dns_compress_findglobal 42 10 279
name_length 5 1 27
dns_compress_add 48 6 290
dns_compress_rollback 15 5 113
dns_decompress_init 9 2 57
dns_decompress_invalidate 4 1 22
dns_decompress_setmethods 14 4 61
dns_decompress_getmethods 4 1 23
dns_decompress_edns 4 1 23
dns_decompress_type 4 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/soa.c
Function nameLOCCyclomatic complexityToken count
decode_uint32 6 1 52
encode_uint32 6 1 72
soa_get 6 2 58
dns_soa_getserial 3 1 16
dns_soa_getrefresh 3 1 16
dns_soa_getretry 3 1 16
dns_soa_getexpire 3 1 16
dns_soa_getminimum 3 1 16
soa_set 6 2 60
dns_soa_setserial 3 1 20
dns_soa_setrefresh 3 1 20
dns_soa_setretry 3 1 20
dns_soa_setexpire 3 1 20
dns_soa_setminimum 3 1 20
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rbtdb64.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/sdlz.c
Function nameLOCCyclomatic complexityToken count
dns_sdlz_tolower 8 4 59
initial_size 4 1 33
rdatasetiter_destroy 8 1 60
rdatasetiter_first 8 2 60
rdatasetiter_next 8 2 50
rdatasetiter_current 5 1 39
attach 9 1 65
destroy 10 1 74
detach 14 3 90
beginload 6 1 36
endload 5 1 27
dump 9 1 45
currentversion 6 2 41
newversion 5 1 27
attachversion 9 2 52
closeversion 7 2 54
createnode 26 3 180
destroynode 34 5 244
findnode 74 14 517
findzonecut 14 1 80
attachnode 12 1 93
detachnode 18 4 123
expirenode 7 1 40
printnode 6 1 33
createiterator 45 6 330
findrdataset 26 6 158
find 108 30 611
allrdatasets 20 3 151
addrdataset 13 1 71
subtractrdataset 12 1 63
deleterdataset 10 1 52
issecure 4 1 18
nodecount 4 1 18
ispersistent 4 1 18
overmem 4 1 21
settask 4 1 22
dbiterator_destroy 13 2 107
dbiterator_first 8 2 48
dbiterator_last 8 2 48
dbiterator_seek 8 3 64
dbiterator_prev 8 2 50
dbiterator_next 8 2 50
dbiterator_current 9 2 66
dbiterator_pause 4 1 18
dbiterator_origin 4 1 29
disassociate 7 1 51
rdataset_clone 9 1 71
list_tordataset 9 1 51
dns_sdlzcreateDBP 38 5 282
dns_sdlzallowzonexfr 42 6 286
dns_sdlzcreate 30 3 174
dns_sdlzdestroy 13 2 71
dns_sdlzfindzone 25 4 183
dns_sdlz_putrr 90 18 579
dns_sdlz_putnamedrr 50 11 386
dns_sdlz_putsoa 15 3 118
dns_sdlzregister 48 5 306
dns_sdlzunregister 15 2 94
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/openssl_link.c
Function nameLOCCyclomatic complexityToken count
entropy_get 7 3 54
entropy_getpseudo 7 3 54
entropy_add 5 1 30
lock_callback 8 2 57
id_callback 3 1 17
mem_alloc 4 1 24
mem_free 5 2 28
mem_realloc 13 5 76
dst__openssl_init 44 8 225
dst__openssl_destroy 24 11 103
dst__openssl_toresult 13 2 50
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/nsec.c
Function nameLOCCyclomatic complexityToken count
set_bit 9 2 69
bit_isset 7 1 58
dns_nsec_buildrdata 69 16 463
dns_nsec_build 28 3 189
dns_nsec_typepresent 29 6 213
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/message.c
Function nameLOCCyclomatic complexityToken count
msgblock_allocate 14 2 81
msgblock_internalget 10 3 69
msgblock_reset 3 1 16
msgblock_free 6 1 44
newbuffer 10 2 64
currentbuffer 6 1 33
releaserdata 3 1 23
newrdata 21 4 132
releaserdatalist 3 1 23
newrdatalist 21 4 127
newoffsets 16 3 94
msginitheader 7 1 38
msginitprivate 17 2 105
msginittsig 10 1 57
msginit 19 1 115
msgresetnames 25 5 180
msgresetopt 13 3 77
msgresetsigs 42 11 309
msgreset 93 21 656
spacefortsig 15 3 98
dns_message_create 62 10 429
dns_message_reset 7 2 44
dns_message_destroy 12 1 81
findname 15 4 77
dns_message_find 20 7 110
dns_message_findtype 19 6 108
getname 25 4 126
getrdata 37 7 188
getquestions 103 19 577
update 8 4 51
getsection 261 79 1420
dns_message_parse 96 24 625
dns_message_renderbegin 19 3 117
dns_message_renderchangebuffer 14 1 110
dns_message_renderrelease 5 1 35
dns_message_renderreserve 11 3 73
wrong_priority 23 8 97
dns_message_rendersection 159 31 856
dns_message_renderheader 26 4 200
dns_message_renderend 74 16 501
dns_message_renderreset 31 7 209
dns_message_firstname 8 2 65
dns_message_nextname 9 2 79
dns_message_currentname 9 2 65
dns_message_findname 33 9 196
dns_message_movename 12 1 85
dns_message_addname 9 1 60
dns_message_removename 9 1 60
dns_message_gettempname 9 3 67
dns_message_gettempoffsets 8 3 57
dns_message_gettemprdata 8 3 57
dns_message_gettemprdataset 9 3 65
dns_message_gettemprdatalist 8 3 57
dns_message_puttempname 8 3 65
dns_message_puttemprdata 6 2 45
dns_message_puttemprdataset 7 2 57
dns_message_puttemprdatalist 6 2 45
dns_message_peekheader 21 4 111
dns_message_reply 46 10 294
dns_message_getopt 4 1 23
dns_message_setopt 24 3 148
dns_message_gettsig 7 3 52
dns_message_settsigkey 27 8 178
dns_message_gettsigkey 4 1 23
dns_message_setquerytsig 45 10 302
dns_message_getquerytsig 21 5 149
dns_message_getsig0 11 5 74
dns_message_setsig0key 25 5 164
dns_message_getsig0key 4 1 23
dns_message_takebuffer 7 1 53
dns_message_signer 60 15 387
dns_message_resetsig 12 2 70
dns_message_rechecksig 4 1 27
dns_message_checksig 75 21 512
dns_message_sectiontotext 56 12 319
dns_message_pseudosectiontotext 63 16 452
dns_message_totext 97 20 702
dns_message_getrawmessage 4 1 24
dns_message_setsortorder 7 1 36
dns_message_settimeadjust 4 1 25
dns_message_gettimeadjust 4 1 23
dns_opcode_totext 7 2 53
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/stats.c
Function nameLOCCyclomatic complexityToken count
dns_stats_alloccounters 11 3 72
dns_stats_freecounters 4 1 32
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/forward.c
Function nameLOCCyclomatic complexityToken count
dns_fwdtable_create 25 5 169
dns_fwdtable_add 40 6 271
dns_fwdtable_find 5 1 30
dns_fwdtable_find2 13 2 87
dns_fwdtable_destroy 13 2 85
auto_detach 12 2 93
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/zone.c
Function nameLOCCyclomatic complexityToken count
dns_zone_create 121 8 788
zone_free 60 17 481
dns_zone_setclass 9 2 57
dns_zone_getclass 4 1 23
dns_zone_setnotifytype 6 1 35
dns_zone_settype 8 2 57
zone_freedbargs 11 3 86
dns_zone_getdbtype 32 5 254
dns_zone_setdbtype 36 8 252
dns_zone_setview 8 2 56
dns_zone_getview 4 1 23
dns_zone_setorigin 13 2 96
dns_zone_setacache 20 5 133
dns_zone_setstring 14 4 85
dns_zone_setfile 3 1 25
dns_zone_setfile2 13 2 79
dns_zone_getfile 4 1 23
default_journal 20 4 139
dns_zone_setjournal 8 1 55
dns_zone_getjournal 4 1 23
zone_isdynamic 12 9 97
zone_load 108 32 641
dns_zone_load 3 1 18
dns_zone_loadnew 3 1 18
zone_gotreadhandle 43 14 282
zone_gotwritehandle 29 4 200
zone_startload 74 18 509
zone_check_mx 66 22 436
zone_check_srv 68 23 450
zone_check_glue 92 30 593
integrity_checks 94 19 626
zone_check_dnskeys 56 15 331
zone_postload 207 55 1199
exit_check 10 3 56
zone_check_ns 47 11 273
zone_count_ns_rr 44 12 268
zone_load_soa_rr 65 18 364
zone_get_from_db 39 12 250
dns_zone_attach 6 2 47
dns_zone_detach 22 5 127
dns_zone_iattach 7 2 49
zone_iattach 9 2 76
zone_idetach 10 2 75
dns_zone_idetach 14 3 78
dns_zone_getmctx 4 1 23
dns_zone_getmgr 4 1 23
dns_zone_setflag 9 2 52
dns_zone_setoption 10 2 50
dns_zone_getoptions 4 1 23
dns_zone_setxfrsource4 7 1 43
dns_zone_getxfrsource4 4 1 24
dns_zone_setxfrsource6 7 1 43
dns_zone_getxfrsource6 4 1 24
dns_zone_setaltxfrsource4 9 1 43
dns_zone_getaltxfrsource4 4 1 24
dns_zone_setaltxfrsource6 9 1 43
dns_zone_getaltxfrsource6 4 1 24
dns_zone_setnotifysrc4 7 1 43
dns_zone_getnotifysrc4 4 1 24
dns_zone_setnotifysrc6 7 1 43
dns_zone_getnotifysrc6 4 1 24
dns_zone_setalsonotify 26 5 167
dns_zone_setmasters 7 1 37
same_masters 9 3 62
same_keynames 15 11 122
dns_zone_setmasterswithkeys 112 25 770
dns_zone_getdb 11 2 72
dns_zone_maintenance 10 1 53
was_dumping 11 2 62
zone_maintenance 69 23 345
dns_zone_markdirty 5 1 25
dns_zone_expire 6 1 31
zone_expire 9 1 56
dns_zone_refresh 38 8 251
dns_zone_flush 17 4 93
dns_zone_dump 11 2 60
zone_needdump 17 6 122
dump_done 64 20 375
zone_dump 75 15 431
dumptostream 20 3 140
dns_zone_dumptostream2 4 1 32
dns_zone_dumptostream 4 1 25
dns_zone_fulldumptostream 4 1 25
dns_zone_unload 6 1 31
notify_cancel 12 4 76
zone_unload 8 1 55
dns_zone_setminrefreshtime 5 1 32
dns_zone_setmaxrefreshtime 5 1 32
dns_zone_setminretrytime 5 1 32
dns_zone_setmaxretrytime 5 1 32
notify_isqueued 15 8 111
notify_isself 30 7 184
notify_destroy 26 9 191
notify_create 19 3 137
process_adb_event 21 3 118
notify_find_address 25 4 152
notify_send_queue 17 3 99
notify_send_toaddr 83 19 537
notify_send 33 7 205
dns_zone_notify 9 1 50
zone_notify 145 26 904
save_nsrrset 70 13 423
stub_callback 198 36 1220
refresh_callback 288 59 1661
queue_soa_query 27 4 157
create_query 36 7 221
add_opt 38 7 241
soa_query 140 37 883
ns_query 169 37 1105
zone_shutdown 56 15 384
zone_timer 9 1 58
zone_settimer 69 28 463
cancel_refresh 10 1 58
notify_createmessage 130 25 854
dns_zone_notifyreceive 100 23 593
dns_zone_setnotifyacl 8 2 56
dns_zone_setqueryacl 8 2 56
dns_zone_setupdateacl 8 2 56
dns_zone_setforwardacl 8 2 56
dns_zone_setxfracl 8 2 56
dns_zone_getnotifyacl 4 1 23
dns_zone_getqueryacl 4 1 23
dns_zone_getupdateacl 4 1 23
dns_zone_getforwardacl 4 1 23
dns_zone_getxfracl 4 1 23
dns_zone_clearupdateacl 7 2 42
dns_zone_clearforwardacl 7 2 42
dns_zone_clearnotifyacl 7 2 42
dns_zone_clearqueryacl 7 2 42
dns_zone_clearxfracl 7 2 42
dns_zone_getupdatedisabled 4 1 23
dns_zone_setupdatedisabled 4 1 25
dns_zone_getzeronosoattl 4 1 23
dns_zone_setzeronosoattl 4 1 25
dns_zone_setchecknames 4 1 25
dns_zone_getchecknames 4 1 23
dns_zone_setjournalsize 4 1 25
dns_zone_getjournalsize 4 1 23
zone_tostr 22 9 216
dns_zone_name 5 1 39
notify_log 13 2 103
dns_zone_logc 14 2 107
dns_zone_log 13 2 103
zone_debuglog 16 2 118
message_count 19 4 112
dns_zone_setmaxxfrin 4 1 25
dns_zone_getmaxxfrin 4 1 23
dns_zone_setmaxxfrout 4 1 25
dns_zone_getmaxxfrout 4 1 23
dns_zone_gettype 4 1 23
dns_zone_getorigin 4 1 24
dns_zone_settask 12 3 95
dns_zone_gettask 4 1 29
dns_zone_setidlein 6 2 35
dns_zone_getidlein 4 1 23
dns_zone_setidleout 4 1 25
dns_zone_getidleout 4 1 23
notify_done 48 11 334
dns_zone_replacedb 10 1 72
zone_replacedb 109 24 642
zone_attachdb 13 5 85
zone_detachdb 6 2 47
zone_xfrdone 174 38 1054
zone_loaddone 24 5 195
dns_zone_getssutable 9 2 62
dns_zone_setssutable 9 3 62
dns_zone_setsigvalidityinterval 4 1 25
dns_zone_getsigvalidityinterval 4 1 23
queue_xfrin 23 3 146
got_transfer_quota 97 16 584
forward_destroy 10 4 78
sendtomaster 31 4 167
forward_callback 76 18 413
dns_zone_forwardupdate 40 6 244
dns_zone_next 9 3 60
dns_zone_first 9 3 60
dns_zonemgr_create 68 8 439
dns_zonemgr_managezone 33 2 214
dns_zonemgr_releasezone 18 3 124
dns_zonemgr_attach 10 2 80
dns_zonemgr_detach 14 3 83
dns_zonemgr_forcemaint 16 2 103
dns_zonemgr_resumexfrs 6 1 43
dns_zonemgr_shutdown 8 3 55
zonemgr_free 12 1 88
dns_zonemgr_settransfersin 4 1 25
dns_zonemgr_getttransfersin 4 1 23
dns_zonemgr_settransfersperns 4 1 25
dns_zonemgr_getttransfersperns 4 1 23
zmgr_resume_xfrs 24 5 110
zmgr_start_xfrin_ifquota 45 7 292
dns_zonemgr_setiolimit 5 1 32
dns_zonemgr_getiolimit 4 1 23
zonemgr_getio 39 7 275
zonemgr_putio 31 5 218
zonemgr_cancelio 18 4 124
zone_saveunique 19 4 127
dns_zonemgr_dbdestroyed 8 1 53
dns_zonemgr_setserialqueryrate 27 4 152
dns_zonemgr_getserialqueryrate 4 1 23
dns_zone_forcereload 9 2 48
dns_zone_isforced 4 1 26
dns_zone_setstatistics 16 4 90
dns_zone_getstatscounters 3 1 15
dns_zone_dialup 12 4 75
dns_zone_setdialup 33 7 138
dns_zone_setkeydirectory 8 1 55
dns_zone_getkeydirectory 4 1 23
dns_zonemgr_getcount 41 12 233
dns_zone_checknames 37 7 271
dns_zone_setcheckmx 4 1 25
dns_zone_setchecksrv 4 1 25
dns_zone_setcheckns 4 1 25
dns_zone_setisself 7 1 45
dns_zone_setnotifydelay 6 1 35
dns_zone_getnotifydelay 4 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/master.c
Function nameLOCCyclomatic complexityToken count
gettoken 35 7 170
dns_loadctx_attach 10 2 76
dns_loadctx_detach 16 3 93
incctx_destroy 11 2 58
loadctx_destroy 26 7 175
incctx_create 27 3 197
loadctx_create 99 14 650
genname 81 23 520
openfile_text 3 1 25
openfile_raw 10 3 61
generate 145 31 954
limit_ttl 14 2 57
check_ns 30 9 225
check_wildcard 13 3 89
load_text 821 198 4937
pushfile 38 9 271
read_and_check 15 4 93
load_raw 212 37 1383
dns_master_loadfile 8 1 54
dns_master_loadfile2 21 3 138
dns_master_loadfileinc 11 1 77
dns_master_loadfileinc2 27 4 176
dns_master_loadstream 22 4 143
dns_master_loadstreaminc 29 5 181
dns_master_loadbuffer 22 3 139
dns_master_loadbufferinc 29 4 177
dns_master_loadlexer 18 2 117
dns_master_loadlexerinc 25 3 155
grow_rdatalist 40 7 298
grow_rdata 48 9 357
commit 45 8 291
is_glue 24 6 145
load_quantum 19 3 112
task_send 10 2 61
dns_loadctx_cancel 6 1 38
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/masterdump.c
Function nameLOCCyclomatic complexityToken count
indent 49 10 277
totext_ctx_init 38 6 260
str_totext 11 2 71
rdataset_totext 115 23 682
question_totext 45 4 229
dns_rdataset_totext 23 4 113
dns_master_rdatasettotext 16 2 76
dns_master_questiontotext 16 2 76
dump_rdataset 54 10 345
dump_order 23 4 90
dump_order_compare 4 1 47
dump_rdatasets_text 59 14 414
dump_rdataset_raw 70 6 491
dump_rdatasets_raw 23 5 132
dumpctx_destroy 15 5 130
dns_dumpctx_attach 10 2 76
dns_dumpctx_detach 16 3 93
dns_dumpctx_version 4 1 23
dns_dumpctx_db 4 1 23
dns_dumpctx_cancel 6 1 38
closeandrename 35 10 191
dump_quantum 26 6 153
task_send 9 2 61
dumpctx_create 73 14 456
dumptostreaminc 133 26 844
dns_master_dumptostreaminc 28 3 167
dns_master_dumptostream 8 1 43
dns_master_dumptostream2 15 2 93
opentmp 27 4 158
dns_master_dumpinc 9 1 67
dns_master_dumpinc2 44 8 282
dns_master_dump 6 1 44
dns_master_dump2 22 3 150
dns_master_dumpnodetostream 35 5 206
dns_master_dumpnode 26 3 152
dns_master_stylecreate 21 3 132
dns_master_styledestroy 7 2 51
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/ds.c
Function nameLOCCyclomatic complexityToken count
dns_ds_buildrdata 50 4 368
dns_ds_digest_supported 4 2 22
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dbtable.c
Function nameLOCCyclomatic complexityToken count
dbdetach 5 1 29
dns_dbtable_create 35 6 222
dbtable_free 10 2 81
dns_dbtable_attach 10 2 76
dns_dbtable_detach 16 3 93
dns_dbtable_add 12 1 92
dns_dbtable_remove 15 2 115
dns_dbtable_adddefault 9 1 80
dns_dbtable_getdefault 7 2 61
dns_dbtable_removedefault 6 1 44
dns_dbtable_find 22 6 158
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/xfrin.c
Function nameLOCCyclomatic complexityToken count
axfr_init 12 2 81
axfr_makedb 9 1 41
axfr_putdata 15 2 107
axfr_apply 10 1 59
axfr_commit 9 1 63
ixfr_init 19 3 107
ixfr_putdata 16 3 113
ixfr_apply 19 5 139
ixfr_commit 13 3 83
xfr_rr 126 32 707
dns_xfrin_create 21 3 116
dns_xfrin_create2 32 6 228
dns_xfrin_shutdown 4 2 24
dns_xfrin_attach 5 2 34
dns_xfrin_detach 7 1 39
xfrin_cancelio 11 4 74
xfrin_reset 23 7 177
xfrin_fail 17 5 115
xfrin_create 92 9 620
xfrin_start 16 1 102
render 18 2 135
xfrin_connect_done 30 4 210
tuple2msgname 39 5 280
xfrin_send_request 67 9 540
xfrin_sendlen_done 25 3 166
xfrin_send_done 18 2 130
xfrin_recv_done 131 34 855
xfrin_timeout 7 1 52
maybe_free 34 18 302
xfrin_logv 12 1 81
xfrin_log1 10 2 64
xfrin_log 11 2 84
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/ncache.c
Function nameLOCCyclomatic complexityToken count
copy_rdataset 30 6 198
dns_ncache_add 106 21 640
dns_ncache_towire 81 10 575
rdataset_disassociate 3 1 13
rdataset_first 14 2 78
rdataset_next 15 2 84
rdataset_current 9 1 73
rdataset_clone 5 1 30
rdataset_count 6 1 40
dns_ncache_getrdataset 62 7 435
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/portlist.c
Function nameLOCCyclomatic complexityToken count
compare 9 3 74
dns_portlist_create 27 5 187
find_port 30 8 181
dns_portlist_add 46 9 314
dns_portlist_remove 22 6 151
dns_portlist_match 18 8 136
dns_portlist_attach 6 2 47
dns_portlist_detach 20 3 129
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/order.c
Function nameLOCCyclomatic complexityToken count
dns_order_create 19 4 132
dns_order_add 22 4 144
match 5 2 39
dns_order_find 18 7 115
dns_order_attach 6 2 47
dns_order_detach 19 3 137
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rbtdb64.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/cache.c
Function nameLOCCyclomatic complexityToken count
adjust_increment 46 8 267
cache_create_db 5 1 44
dns_cache_create 81 15 537
cache_free 37 11 317
dns_cache_attach 8 2 58
dns_cache_detach 30 6 164
dns_cache_attachdb 8 2 66
dns_cache_setfilename 14 3 98
dns_cache_load 10 2 66
dns_cache_dump 11 2 75
dns_cache_setcleaninginterval 26 4 145
cache_cleaner_init 89 15 486
begin_cleaning 38 7 233
end_cleaning 15 2 105
cleaning_timer_action 12 2 83
overmem_cleaning_action 24 5 150
incremental_cleaning_action 79 9 450
dns_cache_clean 29 6 170
water 12 2 98
dns_cache_setcachesize 13 6 106
cleaner_shutdown_action 22 5 162
dns_cache_flush 24 5 171
dns_cache_flushname 44 10 267
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/acache.c
Function nameLOCCyclomatic complexityToken count
reset_stats 11 1 80
check_noentry 6 3 35
shutdown_entries 23 5 164
shutdown_buckets 17 4 133
shutdown_task 12 1 73
unlink_dbentries 18 3 131
destroy_entry 9 1 62
destroy 21 5 180
finddbent 20 5 134
clear_entry 35 9 265
acache_cleaner_init 74 10 373
begin_cleaning 22 3 151
end_cleaning 51 5 328
acache_cleaning_timer_action 11 2 74
entry_stale 22 7 138
acache_incremental_cleaning_action 76 10 473
acache_overmem_cleaning_action 23 5 141
water 15 3 120
acache_cleaner_shutdown_action 25 5 184
dns_acache_create 91 15 635
dns_acache_attach 7 2 54
dns_acache_countquerymiss 4 1 22
dns_acache_detach 20 6 114
dns_acache_shutdown 18 2 122
dns_acache_setdb 33 3 211
dns_acache_putdb 57 11 453
dns_acache_createentry 45 5 301
dns_acache_getentry 74 17 524
dns_acache_setentry 88 17 567
dns_acache_cancelentry 14 1 106
dns_acache_attachentry 8 2 47
dns_acache_detachentry 13 3 86
dns_acache_setcleaninginterval 33 4 176
dns_acache_setcachesize 14 6 106
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_lib.c
Function nameLOCCyclomatic complexityToken count
open_msgcat 3 1 14
dst_lib_initmsgcat 3 1 19
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/adb.c
Function nameLOCCyclomatic complexityToken count
DP 8 1 44
ttlclamp 7 3 32
import_rdataset 109 19 634
kill_name 36 7 241
check_expire_namehooks 42 13 269
link_name 6 1 52
unlink_name 13 3 100
link_entry 5 1 43
unlink_entry 13 3 100
violate_locking_hierarchy 7 2 38
shutdown_names 25 4 150
shutdown_entries 28 7 170
cancel_fetches_at_name 6 3 40
clean_namehooks 29 6 187
clean_target 6 2 39
set_target 52 9 348
event_free 10 1 61
clean_finds_at_name 64 7 362
check_exit 9 2 51
dec_adb_irefcnt 22 5 142
inc_adb_irefcnt 5 1 29
inc_adb_erefcnt 5 1 29
inc_entry_refcnt 9 3 59
dec_entry_refcnt 25 8 158
new_adbname 30 3 201
free_adbname 16 2 132
new_adbnamehook 10 2 60
free_adbnamehook 10 2 74
new_adblameinfo 16 3 113
free_adblameinfo 10 2 77
new_adbentry 17 2 102
free_adbentry 18 3 132
new_adbfind 29 3 187
new_adbfetch 26 6 169
free_adbfetch 14 5 108
free_adbfind 15 2 119
new_adbaddrinfo 14 2 97
free_adbaddrinfo 10 2 74
find_name_and_lock 26 8 176
find_entry_and_lock 20 5 148
entry_is_lame 22 8 140
copy_namehook_lists 60 11 374
shutdown_task 11 1 70
check_expire_name 19 8 138
check_expire_entry 26 8 172
cleanup_names 22 4 158
cleanup_entries 15 2 114
timer_cleanup 29 5 193
destroy 17 1 135
dns_adb_create 121 21 876
dns_adb_attach 6 2 42
dns_adb_detach 18 4 119
dns_adb_whenshutdown 24 4 162
dns_adb_shutdown 14 4 85
dns_adb_createfind 203 55 1159
dns_adb_destroyfind 33 4 220
dns_adb_cancelfind 41 4 258
dns_adb_dump 14 3 120
dump_ttl 5 2 40
dump_adb 61 17 482
dump_entry 26 4 195
dns_adb_dumpfind 38 6 252
print_dns_name 6 1 46
print_namehook_list 13 3 80
print_fetch 4 1 40
print_fetch_list 6 3 48
print_find_list 8 2 49
dbfind_name 102 23 538
fetch_callback 124 22 802
fetch_name 60 12 333
dns_adb_marklame 31 7 209
dns_adb_adjustsrtt 22 2 158
dns_adb_changeflags 12 1 109
dns_adb_findaddrinfo 41 6 229
dns_adb_freeaddrinfo 27 2 174
dns_adb_flush 11 4 101
dns_adb_flushname 22 4 146
water 14 3 95
dns_adb_setadbsize 13 6 106
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/resolver.c
Function nameLOCCyclomatic complexityToken count
valcreate 31 5 226
fix_mustbedelegationornxdomain 61 19 360
fctx_starttimer 4 1 29
fctx_stoptimer 10 2 50
fctx_startidletimer 5 1 32
resquery_destroy 13 2 93
fctx_cancelquery 81 28 555
fctx_cancelqueries 10 2 65
fctx_cleanupfinds 12 2 78
fctx_cleanupaltfinds 12 2 78
fctx_cleanupforwaddrs 11 2 76
fctx_cleanupaltaddrs 11 2 76
fctx_stopeverything 9 1 48
fctx_sendevents 54 19 379
fctx_done 16 2 100
resquery_senddone 44 12 228
fctx_addopt 34 4 219
fctx_setretryinterval 16 4 98
fctx_query 186 26 972
triededns 10 3 61
add_triededns 11 3 76
triededns512 10 3 61
add_triededns512 11 3 76
resquery_send 200 50 1371
resquery_connected 69 14 364
fctx_finddone 41 12 263
bad_server 10 3 61
mark_bad 46 11 274
add_bad 53 9 384
sort_adbfind 17 4 110
sort_finds 43 7 285
findname 64 24 416
fctx_getaddresses 135 29 818
possibly_mark 54 14 345
fctx_nextaddress 103 30 566
fctx_try 31 6 167
fctx_destroy 59 9 524
fctx_timeout 26 5 162
fctx_shutdown 12 3 67
fctx_doshutdown 36 10 246
fctx_start 40 6 260
fctx_join 36 3 228
fctx_create 176 21 1214
is_lame 37 11 224
log_lame 12 1 94
same_question 21 6 146
clone_results 34 9 247
maybe_destroy 25 8 181
validated 225 58 1456
cache_name 245 76 1348
cache_message 31 7 189
ncache_adderesult 28 8 151
ncache_message 107 21 642
mark_related 18 5 95
check_related 50 10 271
chase_additional 31 6 161
cname_target 16 3 101
dname_target 31 4 188
noanswer_response 199 65 1057
answer_response 233 59 1107
resume_dslookup 100 16 664
checknamessection 31 6 166
checknames 5 1 29
log_packet 27 7 163
resquery_response 371 83 2130
destroy 38 8 336
send_shutdown_events 13 2 81
empty_bucket 9 2 56
spillattimer_countdown 27 4 157
dns_resolver_create 141 26 987
prime_done 35 7 274
dns_resolver_prime 43 6 262
dns_resolver_freeze 5 1 30
dns_resolver_attach 12 2 91
dns_resolver_whenshutdown 21 3 125
dns_resolver_shutdown 43 8 297
dns_resolver_detach 19 4 113
fctx_match 7 3 51
log_fetch 12 2 84
dns_resolver_createfetch 15 1 90
dns_resolver_createfetch2 108 27 687
dns_resolver_cancelfetch 31 5 195
dns_resolver_destroyfetch 42 9 262
dns_resolver_dispatchmgr 4 1 23
dns_resolver_dispatchv4 4 1 23
dns_resolver_dispatchv6 4 1 23
dns_resolver_socketmgr 4 1 23
dns_resolver_taskmgr 4 1 23
dns_resolver_getlamettl 4 1 23
dns_resolver_setlamettl 4 1 25
dns_resolver_nrunning 7 1 39
dns_resolver_addalternate 27 4 210
dns_resolver_setudpsize 4 1 25
dns_resolver_getudpsize 4 1 23
free_algorithm 5 1 35
dns_resolver_reset_algorithms 7 4 52
dns_resolver_disable_algorithm 46 13 293
dns_resolver_algorithm_supported 26 9 176
dns_resolver_digest_supported 4 1 25
dns_resolver_resetmustbesecure 7 4 52
dns_resolver_setmustbesecure 18 6 109
dns_resolver_getmustbesecure 15 6 109
dns_resolver_getclientsperquery 13 4 83
dns_resolver_setclientsperquery 9 1 54
dns_resolver_getzeronosoattl 4 1 23
dns_resolver_setzeronosoattl 4 1 25
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/gssapictx.c
Function nameLOCCyclomatic complexityToken count
name_to_gbuffer 20 2 115
dst_gssapi_acquirecred 30 6 176
dst_gssapi_initctx 44 7 272
dst_gssapi_acceptctx 34 4 214
dst_gssapi_acquirecred 6 1 35
dst_gssapi_initctx 11 1 54
dst_gssapi_acceptctx 11 1 54
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/sdb.c
Function nameLOCCyclomatic complexityToken count
dns_sdb_register 38 5 244
dns_sdb_unregister 12 2 78
initial_size 7 3 46
dns_sdb_putrdata 51 9 341
dns_sdb_putrr 74 14 441
getnode 50 11 379
dns_sdb_putnamedrr 10 2 72
dns_sdb_putnamedrdata 11 2 76
dns_sdb_putsoa 15 3 120
attach 9 1 65
destroy 18 2 133
detach 14 3 90
beginload 6 1 36
endload 5 1 27
dump 8 1 45
currentversion 6 2 41
newversion 5 1 27
attachversion 9 3 56
closeversion 7 2 54
createnode 23 3 166
destroynode 32 5 241
findnode 59 13 398
find 108 30 611
findzonecut 14 1 80
attachnode 12 1 93
detachnode 18 4 123
expirenode 7 1 40
printnode 6 1 33
createiterator 35 5 260
findrdataset 26 5 154
allrdatasets 20 3 151
addrdataset 13 1 71
subtractrdataset 12 1 63
deleterdataset 10 1 52
issecure 4 1 18
nodecount 4 1 18
ispersistent 4 1 18
overmem 4 1 21
settask 4 1 22
dns_sdb_create 65 9 451
disassociate 7 1 51
rdataset_clone 9 1 71
list_tordataset 9 1 51
dbiterator_destroy 13 2 107
dbiterator_first 8 2 48
dbiterator_last 8 2 48
dbiterator_seek 8 3 64
dbiterator_prev 8 2 50
dbiterator_next 8 2 50
dbiterator_current 9 2 66
dbiterator_pause 4 1 18
dbiterator_origin 4 1 29
rdatasetiter_destroy 7 1 60
rdatasetiter_first 8 2 60
rdatasetiter_next 8 2 50
rdatasetiter_current 5 1 39
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/journal.c
Function nameLOCCyclomatic complexityToken count
decode_uint32 6 1 52
encode_uint32 6 1 72
dns_db_createsoatuple 33 4 207
journal_pos_decode 4 1 34
journal_pos_encode 4 1 34
journal_header_decode 7 1 94
journal_header_encode 8 1 112
journal_seek 12 2 72
journal_read 14 3 88
journal_write 12 2 77
journal_fsync 18 3 96
journal_read_xhdr 11 2 82
journal_write_xhdr 9 1 63
journal_read_rrhdr 9 2 60
journal_file_create 50 5 314
journal_open 92 15 670
dns_journal_open 18 5 134
ixfr_order 16 3 134
journal_next 29 6 197
index_find 11 6 100
index_add 23 7 177
index_invalidate 9 4 71
journal_find 24 7 172
dns_journal_begin_transaction 24 2 182
dns_journal_writediff 54 7 447
dns_journal_commit 62 12 528
dns_journal_write_transaction 10 1 62
dns_journal_destroy 22 6 225
roll_forward 83 15 534
dns_journal_rollforward 21 4 126
dns_journal_print 82 14 490
dns_journal_first_serial 3 1 19
dns_journal_last_serial 3 1 19
size_buffer 13 4 90
dns_journal_iter_init 13 1 100
dns_journal_first_rr 10 1 72
read_one_rr 68 10 584
dns_journal_next_rr 4 1 28
dns_journal_current_rr 8 1 60
get_name_diff 49 8 275
rdata_order 12 2 98
dns_diff_subtract 45 10 379
dns_db_diff 102 18 806
dns_journal_compact 147 40 1092
index_to_disk 21 3 157
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/ssu.c
Function nameLOCCyclomatic complexityToken count
dns_ssutable_create 20 4 131
destroy 25 5 196
dns_ssutable_attach 10 2 76
dns_ssutable_detach 15 3 89
dns_ssutable_addrule 74 15 502
isusertype 5 3 25
dns_ssutable_checkrules 65 26 422
dns_ssurule_isgrant 4 1 24
dns_ssurule_identity 4 1 24
dns_ssurule_matchtype 4 1 24
dns_ssurule_name 4 1 24
dns_ssurule_types 6 2 47
dns_ssutable_firstrule 6 3 55
dns_ssutable_nextrule 6 3 54
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/request.c
Function nameLOCCyclomatic complexityToken count
dns_requestmgr_create 68 11 440
dns_requestmgr_whenshutdown 22 2 129
dns_requestmgr_shutdown 7 1 49
mgr_shutdown 15 4 83
requestmgr_attach 9 2 70
requestmgr_detach 22 5 144
dns_requestmgr_attach 11 2 86
dns_requestmgr_detach 21 5 137
send_shutdown_events 14 2 93
mgr_destroy 18 4 138
mgr_gethash 5 1 32
req_send 14 2 102
new_request 28 2 188
isblackholed 20 5 121
create_tcp_dispatch 40 5 213
find_udp_dispatch 46 7 199
get_dispatch 13 2 62
set_timer 14 3 97
dns_request_createraw 10 1 73
dns_request_createraw2 15 2 95
dns_request_createraw3 127 28 868
dns_request_create 11 1 75
dns_request_createvia 11 1 79
dns_request_createvia2 15 2 101
dns_request_createvia3 133 26 865
req_render 67 19 421
send_if_done 6 4 37
do_cancel 11 2 90
dns_request_cancel 12 3 108
dns_request_getresponse 21 5 144
dns_request_usedtcp 4 1 32
dns_request_destroy 19 2 171
req_connected 28 5 196
req_senddone 22 4 168
req_response 28 4 211
req_timeout 24 5 166
req_sendevent 9 1 74
req_destroy 27 10 213
req_cancel 19 5 134
req_log 7 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/openssldsa_link.c
Function nameLOCCyclomatic complexityToken count
openssldsa_createctx 8 1 51
openssldsa_destroyctx 8 2 49
openssldsa_adddata 5 1 39
BN_bn2bin_fixed 7 2 51
openssldsa_sign 23 3 182
openssldsa_verify 23 3 166
openssldsa_compare 23 14 190
openssldsa_generate 34 8 202
openssldsa_isprivate 4 2 37
openssldsa_destroy 5 1 27
openssldsa_todns 27 3 231
openssldsa_fromdns 36 5 266
openssldsa_tofile 36 2 358
openssldsa_parse 47 10 273
dst__openssldsa_init 6 2 33
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dbiterator.c
Function nameLOCCyclomatic complexityToken count
dns_dbiterator_destroy 6 1 44
dns_dbiterator_first 4 1 28
dns_dbiterator_last 4 1 28
dns_dbiterator_seek 4 1 34
dns_dbiterator_prev 4 1 28
dns_dbiterator_next 4 1 28
dns_dbiterator_current 8 3 64
dns_dbiterator_pause 4 1 28
dns_dbiterator_origin 6 1 49
dns_dbiterator_setcleanmode 4 1 25
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/acl.c
Function nameLOCCyclomatic complexityToken count
dns_acl_create 33 5 215
dns_acl_appendelement 21 4 148
dns_acl_anyornone 12 2 85
dns_acl_any 3 1 24
dns_acl_none 3 1 24
dns_acl_match 21 5 143
dns_acl_elementmatch 17 5 105
dns_aclelement_match 71 21 323
dns_acl_attach 5 1 35
destroy 24 6 163
dns_acl_detach 9 2 54
dns_aclelement_equal 24 9 165
dns_acl_equal 13 5 93
is_loopback 17 7 91
dns_acl_isinsecure 28 11 138
dns_aclenv_init 17 3 101
dns_aclenv_copy 7 1 60
dns_aclenv_destroy 4 1 24
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_internal.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/tkey.c
Function nameLOCCyclomatic complexityToken count
tkey_log 7 1 44
dns_tkeyctx_create 19 3 129
dns_tkeyctx_destroy 18 5 128
add_rdata_to_list 50 6 384
free_namelist 14 3 97
compute_secret 35 6 301
process_dhtkey 131 20 851
process_gsstkey 56 10 373
process_deletetkey 25 4 141
dns_tkey_processquery 188 30 1196
buildquery 55 5 397
dns_tkey_builddhquery 61 4 427
dns_tkey_buildgssquery 37 4 264
dns_tkey_builddeletequery 17 1 143
find_tkey 25 5 139
dns_tkey_processdhresponse 110 17 753
dns_tkey_processgssresponse 49 6 346
dns_tkey_processdeleteresponse 38 7 254
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/hmac_link.c
Function nameLOCCyclomatic complexityToken count
getkeybits 6 2 54
hmacmd5_createctx 10 2 71
hmacmd5_destroyctx 8 2 49
hmacmd5_adddata 5 1 39
hmacmd5_sign 10 2 65
hmacmd5_verify 9 3 60
hmacmd5_compare 13 6 100
hmacmd5_generate 20 3 137
hmacmd5_isprivate 4 1 19
hmacmd5_destroy 6 1 48
hmacmd5_todns 11 2 82
hmacmd5_fromdns 26 4 178
hmacmd5_tofile 20 2 185
hmacmd5_parse 34 8 230
dst__hmacmd5_init 6 2 33
hmacsha1_createctx 10 2 71
hmacsha1_destroyctx 8 2 49
hmacsha1_adddata 5 1 39
hmacsha1_sign 10 2 67
hmacsha1_verify 9 4 66
hmacsha1_compare 13 6 100
hmacsha1_generate 20 3 137
hmacsha1_isprivate 4 1 19
hmacsha1_destroy 6 1 48
hmacsha1_todns 11 2 82
hmacsha1_fromdns 26 4 178
hmacsha1_tofile 20 2 185
hmacsha1_parse 35 7 226
dst__hmacsha1_init 6 2 33
hmacsha224_createctx 10 2 71
hmacsha224_destroyctx 8 2 49
hmacsha224_adddata 5 1 39
hmacsha224_sign 10 2 67
hmacsha224_verify 9 4 66
hmacsha224_compare 13 6 100
hmacsha224_generate 20 3 137
hmacsha224_isprivate 4 1 19
hmacsha224_destroy 6 1 48
hmacsha224_todns 11 2 82
hmacsha224_fromdns 26 4 178
hmacsha224_tofile 20 2 185
hmacsha224_parse 35 7 226
dst__hmacsha224_init 6 2 33
hmacsha256_createctx 10 2 71
hmacsha256_destroyctx 8 2 49
hmacsha256_adddata 5 1 39
hmacsha256_sign 10 2 67
hmacsha256_verify 9 4 66
hmacsha256_compare 13 6 100
hmacsha256_generate 20 3 137
hmacsha256_isprivate 4 1 19
hmacsha256_destroy 6 1 48
hmacsha256_todns 11 2 82
hmacsha256_fromdns 26 4 178
hmacsha256_tofile 20 2 185
hmacsha256_parse 35 7 226
dst__hmacsha256_init 6 2 33
hmacsha384_createctx 10 2 71
hmacsha384_destroyctx 8 2 49
hmacsha384_adddata 5 1 39
hmacsha384_sign 10 2 67
hmacsha384_verify 9 4 66
hmacsha384_compare 13 6 100
hmacsha384_generate 20 3 137
hmacsha384_isprivate 4 1 19
hmacsha384_destroy 6 1 48
hmacsha384_todns 11 2 82
hmacsha384_fromdns 26 4 178
hmacsha384_tofile 20 2 185
hmacsha384_parse 35 7 226
dst__hmacsha384_init 6 2 33
hmacsha512_createctx 10 2 71
hmacsha512_destroyctx 8 2 49
hmacsha512_adddata 5 1 39
hmacsha512_sign 10 2 67
hmacsha512_verify 9 4 66
hmacsha512_compare 13 6 100
hmacsha512_generate 20 3 137
hmacsha512_isprivate 4 1 19
hmacsha512_destroy 6 1 48
hmacsha512_todns 11 2 82
hmacsha512_fromdns 26 4 178
hmacsha512_tofile 20 2 185
hmacsha512_parse 35 7 226
dst__hmacsha512_init 6 2 33
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/keytable.c
Function nameLOCCyclomatic complexityToken count
free_keynode 9 2 69
dns_keytable_create 31 6 202
dns_keytable_attach 10 2 80
dns_keytable_detach 22 5 159
dns_keytable_add 28 5 192
dns_keytable_findkeynode 33 8 217
dns_keytable_findnextkeynode 23 6 151
dns_keytable_finddeepestmatch 16 3 107
dns_keytable_detachkeynode 10 2 68
dns_keytable_issecuredomain 22 4 139
dns_keynode_key 4 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/lookup.c
Function nameLOCCyclomatic complexityToken count
fetch_done 11 1 81
start_fetch 13 1 79
build_event 51 11 313
view_find 14 2 99
lookup_find 138 32 881
levent_destroy 25 7 190
dns_lookup_create 59 5 407
dns_lookup_cancel 12 3 73
dns_lookup_destroy 17 3 129
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/zt.c
Function nameLOCCyclomatic complexityToken count
dns_zt_create 26 5 176
dns_zt_mount 13 2 92
dns_zt_unmount 10 1 72
dns_zt_find 17 4 129
dns_zt_attach 10 2 80
flush 4 1 25
zt_flushanddetach 21 5 150
dns_zt_flushanddetach 3 1 15
dns_zt_detach 3 1 15
dns_zt_load 8 1 60
load 8 3 46
dns_zt_loadnew 8 1 60
loadnew 9 4 50
dns_zt_freezezones 8 2 74
freezezones 55 15 319
dns_zt_apply 5 1 44
dns_zt_apply2 38 12 239
auto_detach 5 1 29
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/openssldh_link.c
Function nameLOCCyclomatic complexityToken count
openssldh_computesecret 21 3 142
openssldh_compare 22 13 181
openssldh_paramcompare 15 7 115
openssldh_generate 44 15 261
openssldh_isprivate 4 2 37
openssldh_destroy 11 6 79
uint16_toregion 4 1 38
uint16_fromregion 8 1 64
openssldh_todns 42 10 298
openssldh_fromdns 97 22 545
openssldh_tofile 47 6 408
openssldh_parse 69 19 452
BN_fromhex 20 3 196
openssldh_cleanup 6 1 30
dst__openssldh_init 15 2 91
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/opensslrsa_link.c
Function nameLOCCyclomatic complexityToken count
opensslrsa_createctx 21 5 136
opensslrsa_destroyctx 18 5 118
opensslrsa_adddata 12 3 94
opensslrsa_sign 42 7 271
opensslrsa_verify 28 5 189
opensslrsa_compare 24 14 196
opensslrsa_generate 39 10 231
opensslrsa_isprivate 4 2 37
opensslrsa_destroy 5 1 27
opensslrsa_todns 29 5 202
opensslrsa_fromdns 39 7 258
opensslrsa_tofile 67 6 632
opensslrsa_parse 56 13 305
dst__opensslrsa_init 6 2 33
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/include/bind9/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/include/bind9/getaddresses.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/include/bind9/check.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/check.c
Function nameLOCCyclomatic complexityToken count
freekey 5 1 36
check_orderent 72 14 466
check_order 17 4 101
check_dual_stack 55 9 331
check_forward 12 3 86
disabled_algorithms 45 5 278
nameexist 30 5 196
mustbesecure 29 2 183
checkacl 27 9 192
check_viewacls 16 3 113
check_options 225 39 1460
get_masters_def 21 4 136
validate_masters 88 14 491
check_update_policy 66 9 439
check_zoneconf 252 52 1676
bind9_check_key 75 17 490
check_keylist 36 6 220
check_servers 59 10 400
check_viewconf 120 35 787
bind9_check_logging 99 16 599
key_exists 17 4 100
bind9_check_controlskeys 24 4 135
bind9_check_controls 84 15 520
bind9_check_namedconf 198 45 1241
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/getaddresses.c
Function nameLOCCyclomatic complexityToken count
bind9_getaddresses 132 41 806
Source file: /home/sergeyb/sources/src/usr.sbin/bind/bin/dig/include/dig/dig.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/bin/dig/dig.c
Function nameLOCCyclomatic complexityToken count
print_usage 6 1 17
usage 6 1 24
version 3 1 15
help 67 3 79
received 40 11 266
trying 4 1 22
say_message 24 5 177
short_answer 42 8 243
printrdataset 37 13 233
printmessage 183 60 1077
printgreeting 32 10 236
parse_uint 10 4 73
plus_option 363 90 1544
dash_option 308 67 1876
preparse_args 21 5 123
getaddresses 20 3 140
parse_args 221 53 1328
dighost_shutdown 40 9 234
main 40 7 221
Source file: /home/sergeyb/sources/src/usr.sbin/bind/bin/dig/nslookup.c
Function nameLOCCyclomatic complexityToken count
dighost_shutdown 10 2 42
printsoa 17 1 134
printa 10 1 79
printrdataset 8 1 36
printrdata 24 6 159
printsection 61 11 318
detailsection 77 15 377
received 6 1 30
trying 4 1 22
printmessage 43 8 309
show_settings 40 12 239
testtype 14 2 69
testclass 14 2 69
safecpy 3 1 24
parse_uint 14 4 86
set_port 7 2 42
set_timeout 6 2 37
set_tries 6 2 37
setoption 82 41 920
addlookup 60 5 379
get_next_command 50 15 320
parse_args 22 5 134
flush_lookup_list 44 9 300
getinput 13 4 58
main 39 6 222
Source file: /home/sergeyb/sources/src/usr.sbin/bind/bin/dig/host.c
Function nameLOCCyclomatic complexityToken count
show_usage 24 1 37
dighost_shutdown 3 1 10
received 12 2 81
trying 5 2 29
say_message 32 4 198
printrdataset 8 1 36
printsection 104 27 557
printrdata 19 3 129
chase_cnamechain 23 3 145
printmessage 161 45 1075
pre_parse_args 41 25 206
parse_args 179 43 875
main 32 5 187
Source file: /home/sergeyb/sources/src/usr.sbin/bind/bin/dig/dighost.c
Function nameLOCCyclomatic complexityToken count
mem_alloc 3 1 21
mem_free 3 1 24
next_token 9 3 50
count_dots 11 3 48
hex_dump 13 4 87
append 7 2 54
reverse_octets 17 4 120
get_reverse 35 8 227
fatal 13 3 76
debug 9 2 48
check_result 5 2 32
make_server 14 2 103
addr2af 13 3 41
copy_server_list 15 2 121
flush_server_list 11 2 62
set_nameserver 24 5 152
add_nameserver 22 5 141
clone_server_list 12 2 81
make_empty_lookup 69 4 418
clone_lookup 55 5 425
requeue_lookup 15 2 100
setup_text_key 40 5 244
setup_file_key 48 10 206
make_searchlist_entry 10 2 63
create_search_list 10 2 63
setup_system 50 19 304
clear_searchlist 7 2 41
set_search_domain 6 1 32
setup_libs 35 5 250
add_opt 30 2 196
add_question 13 1 76
check_if_done 11 5 65
clear_query 28 6 191
try_clear_lookup 17 4 95
destroy_lookup 27 7 181
start_lookup 79 10 435
check_next_lookup 12 3 58
followup_lookup 114 25 709
next_origin 25 8 185
insert_soa 49 1 368
setup_lookup 264 54 1833
send_done 31 6 193
cancel_lookup 20 4 111
bringup_timer 23 4 136
send_tcp_connect 63 12 369
send_udp 57 5 383
connect_timeout 46 8 265
tcp_length_done 66 4 399
launch_next_query 46 5 319
connect_done 64 7 362
check_for_more_data 104 19 529
recv_done 394 111 2315
get_address 11 2 70
do_lookup 9 2 53
onrun_callback 7 1 31
cancel_all 36 7 177
destroy_libs 88 24 490
initialize_idn 11 3 59
output_filter 32 12 247
append_textname 13 5 98
idn_check_result 6 2 36
print_type 14 1 88
dump_database_section 16 3 102
dump_database 15 5 100
search_type 31 9 207
chase_scanname_section 17 4 100
chase_scanname 32 8 176
sigchase_scanname 43 6 275
insert_trustedkey 9 3 40
clean_trustedkey 13 3 69
removetmpkey 17 2 105
opentmpkey 59 11 348
get_trusted_key 56 11 306
nameFromString 18 2 131
prepare_lookup 104 9 704
child_of_zone 23 3 126
grandfather_pb_test 22 3 132
initialization 17 2 83
print_rdataset 13 1 90
dup_name 7 2 51
free_name 4 1 26
contains_trusted_key 47 9 253
sigchase_verify_sig 29 3 165
sigchase_verify_sig_key 35 4 214
sigchase_verify_ds 75 8 397
advanced_rrsearch 18 4 95
sigchase_td 302 42 1277
getneededrr 137 23 714
sigchase_bu 118 13 558
sigchase 8 4 30
inf_name 32 8 182
prove_nx_domain 65 10 342
prove_nx_type 28 3 151
prove_nx 37 4 184
Source file: /home/sergeyb/sources/src/usr.sbin/bind/acconfig.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/lockd_lock.c
Function nameLOCCyclomatic complexityToken count
fhcmp 4 1 31
fhconv 19 3 94
fhfree 4 1 15
lock_lookup 17 7 109
testlock 25 4 144
getlock 122 29 781
unlock 47 14 296
lalloc 4 1 18
lfree 8 1 49
sigchild_handler 48 12 237
do_lock 92 24 527
send_granted 66 10 513
do_unlock 40 10 197
siglock 9 2 46
sigunlock 9 2 46
do_mon 41 5 286
notify 37 9 194
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/lockd.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/test.c
Function nameLOCCyclomatic complexityToken count
nlm_test_1 10 2 67
nlm_lock_1 13 2 89
nlm_cancel_1 10 2 67
nlm_unlock_1 10 2 67
nlm_granted_1 10 2 67
nlm_test_msg_1 10 2 71
nlm_lock_msg_1 10 2 77
nlm_cancel_msg_1 10 2 71
nlm_unlock_msg_1 10 2 71
nlm_granted_msg_1 10 2 71
nlm_test_res_1 10 2 70
nlm_lock_res_1 10 2 70
nlm_cancel_res_1 10 2 70
nlm_unlock_res_1 10 2 70
nlm_granted_res_1 10 2 70
nlm_share_3 10 2 66
nlm_unshare_3 10 2 66
nlm_nm_lock_3 10 2 66
nlm_free_all_3 10 2 70
main 51 5 346
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/lockd_lock.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/handles.c
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/procs.c
Function nameLOCCyclomatic complexityToken count
log_from_addr 14 2 107
get_client 52 12 346
transmit_result 15 3 94
transmit4_result 15 3 94
nlmtonlm4 6 1 42
nlm_test_1_svc 23 3 153
nlm_test_msg_1_svc 36 5 239
nlm_lock_1_svc 16 2 113
nlm_lock_msg_1_svc 17 2 129
nlm_cancel_1_svc 11 2 69
nlm_cancel_msg_1_svc 12 2 83
nlm_unlock_1_svc 11 2 69
nlm_unlock_msg_1_svc 12 2 83
nlm_granted_1_svc 9 2 48
nlm_granted_msg_1_svc 10 2 62
nlm_test_res_1_svc 6 2 27
nlm_lock_res_1_svc 6 2 27
nlm_cancel_res_1_svc 6 2 27
nlm_unlock_res_1_svc 6 2 27
nlm_granted_res_1_svc 6 2 27
nlm_share_3_svc 10 2 52
nlm_unshare_3_svc 10 2 52
nlm_nm_lock_3_svc 9 2 48
nlm_free_all_3_svc 7 2 32
nlm4_test_4_svc 17 3 104
nlm4_test_msg_4_svc 30 5 190
nlm4_lock_4_svc 9 2 57
nlm4_lock_msg_4_svc 10 2 73
nlm4_cancel_4_svc 9 2 56
nlm4_cancel_msg_4_svc 10 2 72
nlm4_unlock_4_svc 9 2 56
nlm4_unlock_msg_4_svc 10 2 70
nlm4_granted_4_svc 9 2 48
nlm4_granted_msg_4_svc 10 2 62
nlm4_test_res_4_svc 6 2 27
nlm4_lock_res_4_svc 6 2 27
nlm4_cancel_res_4_svc 6 2 27
nlm4_unlock_res_4_svc 6 2 27
nlm4_granted_res_4_svc 6 2 27
nlm4_share_4_svc 10 2 52
nlm4_unshare_4_svc 10 2 52
nlm4_nm_lock_4_svc 9 2 48
nlm4_free_all_4_svc 7 2 32
nlm_sm_notify_0_svc 6 1 33
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/lockd.c
Function nameLOCCyclomatic complexityToken count
main 106 21 729
sigalarm_handler 4 1 11
usage 4 1 12
Source file: /home/sergeyb/sources/src/usr.sbin/config/misc.c
Function nameLOCCyclomatic complexityToken count
ask_cmd 17 3 146
ask_yn 21 8 116
Source file: /home/sergeyb/sources/src/usr.sbin/config/ukc.c
Function nameLOCCyclomatic complexityToken count
check_int 6 2 31
ukc 100 38 691
init 31 7 160
Source file: /home/sergeyb/sources/src/usr.sbin/config/ukcutil.c
Function nameLOCCyclomatic complexityToken count
get_cfdata 5 1 38
get_locnamp 5 1 36
get_locnames 5 1 36
get_extraloc 13 2 110
get_pdevnames 7 1 51
get_pdevinit 5 1 38
more 17 6 87
pnum 19 6 73
pdevnam 24 6 113
pdev 66 16 355
numberl 10 7 88
number 12 4 64
device 30 10 168
attr 24 9 158
modifyl 24 5 127
modify 11 4 57
change 81 20 479
change_history 97 32 562
disable 53 13 240
enable 53 13 240
show 15 3 68
common_attr_val 50 11 216
show_attr 37 14 219
common_dev 84 27 399
common_attr 23 10 130
add_read 45 10 259
add 126 34 830
add_history 84 19 583
config 32 9 204
process_history 98 32 486
Source file: /home/sergeyb/sources/src/usr.sbin/config/exec.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/sem.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/cmd.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/misc.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/cmd.c
Function nameLOCCyclomatic complexityToken count
Xhelp 9 2 68
Xadd 12 3 77
Xbase 15 6 87
Xchange 14 4 99
Xdisable 16 5 125
Xenable 16 5 125
Xfind 14 4 99
Xlines 11 3 57
Xlist 22 6 100
Xshow 8 2 40
Xquit 4 1 13
Xexit 4 1 13
Xtimezone 27 8 190
int_variable_adjust 19 4 132
Xbufcachepct 5 1 22
Xnkmempg 5 1 22
Source file: /home/sergeyb/sources/src/usr.sbin/config/mkswap.c
Function nameLOCCyclomatic complexityToken count
mkswap 8 4 50
mkdevstr 10 2 60
mkoneswap 46 13 299
Source file: /home/sergeyb/sources/src/usr.sbin/config/pack.c
Function nameLOCCyclomatic complexityToken count
pack 22 4 138
packdevi 38 8 274
sameas 12 5 91
addparents 54 15 411
nparents 17 7 111
packlocs 15 4 128
packpvec 22 6 183
findvec 16 4 127
samelocs 8 3 70
addlocs 11 3 76
loclencmp 7 1 58
samepv 8 3 68
addpv 18 6 119
pvlencmp 7 1 54
resettails 12 3 73
Source file: /home/sergeyb/sources/src/usr.sbin/config/util.c
Function nameLOCCyclomatic complexityToken count
emalloc 7 2 36
ereallocarray 6 2 41
ecalloc 7 2 39
sourcepath 7 2 40
newnv 19 4 116
nvfree 5 1 19
nvfreel 9 2 43
error 8 1 45
xerror 7 1 45
vxerror 7 1 59
panic 10 1 63
Source file: /home/sergeyb/sources/src/usr.sbin/config/files.c
Function nameLOCCyclomatic complexityToken count
initfiles 8 1 33
addfile 65 17 422
addobject 22 3 147
checkfiles 10 4 78
checkaux 11 2 59
fixfiles 44 11 270
fixobjects 22 5 111
fixcount 14 2 104
fixfsel 11 1 73
fixsel 4 1 25
expr_eval 20 5 162
expr_free 19 6 80
prexpr 7 1 32
pr0 24 6 99
Source file: /home/sergeyb/sources/src/usr.sbin/config/ukc.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/mkheaders.c
Function nameLOCCyclomatic complexityToken count
mkheaders 16 7 101
emitcnt 37 13 291
emitopt 48 14 333
emitwarn 7 2 43
cntname 12 3 78
Source file: /home/sergeyb/sources/src/usr.sbin/config/main.c
Function nameLOCCyclomatic complexityToken count
usage 9 1 28
main 112 38 625
mksymlink 13 4 72
mksymlinks 22 3 127
stop 5 1 21
defoption 14 3 131
removeoption 31 7 213
addoption 15 4 137
addmkoption 4 1 31
do_option 19 4 144
deva_has_instances 10 4 68
devbase_has_instances 8 3 54
hasparent 12 5 90
cfcrosscheck 33 12 216
crosscheck 30 8 197
badstar 29 9 170
setupdirs 41 20 290
optcmp 16 8 119
optiondelta 49 16 397
Source file: /home/sergeyb/sources/src/usr.sbin/config/hash.c
Function nameLOCCyclomatic complexityToken count
poolalloc 17 2 79
ht_init 13 2 87
ht_expand 21 3 156
newhashent 11 1 69
hash 7 2 42
initintern 4 1 14
intern 21 5 159
ht_new 7 1 32
ht_remove 20 6 157
ht_insrep 19 5 138
ht_lookup 11 3 85
Source file: /home/sergeyb/sources/src/usr.sbin/config/exec_elf.c
Function nameLOCCyclomatic complexityToken count
adjust 18 5 137
readjust 16 5 135
loadkernel 30 9 311
savekernel 9 3 71
Source file: /home/sergeyb/sources/src/usr.sbin/config/sem.c
Function nameLOCCyclomatic complexityToken count
initsem 20 1 95
enddefs 17 4 80
setdefmaxusers 10 4 47
setmaxusers 13 4 63
defattr 29 4 167
has_errobj 7 3 44
addtoattr 6 1 39
defdev 34 8 202
getdevbase 36 8 215
defdevattach 63 19 391
getdevattach 35 8 211
getattr 9 2 48
setmajor 8 3 45
exclude 8 2 46
resolve 61 18 478
lresolve 9 3 75
addconf 41 8 270
setconf 8 2 46
newdevi 23 2 145
enabledev 41 9 244
adddev 81 17 500
addpseudo 27 5 156
getdevi 36 7 224
concat 14 2 92
starref 4 1 19
wildref 4 1 19
split 26 8 178
selectbase 18 4 164
onlist 7 3 44
extend 10 1 53
fixloc 70 19 470
Source file: /home/sergeyb/sources/src/usr.sbin/config/mkmakefile.c
Function nameLOCCyclomatic complexityToken count
mkmakefile 72 18 419
expandname 38 13 265
srcpath 32 9 195
emitdefs 32 15 255
emitreconfig 24 10 137
emitobjs 46 14 311
emitcfiles 4 1 18
emitsfiles 4 1 18
emitfiles 36 13 250
emit_1rule 11 5 91
emitrules 31 9 157
emitload 63 19 361
Source file: /home/sergeyb/sources/src/usr.sbin/config/config.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/mkioconf.c
Function nameLOCCyclomatic complexityToken count
mkioconf 21 11 140
cforder 7 1 54
emithdr 31 7 180
emitexterns 23 7 129
emitloc 18 5 104
addlocname 13 5 96
addlocnami 8 3 47
emitlocnames 47 16 362
emitpv 14 5 108
emitcfdata 71 21 478
emitroots 21 9 159
emitpseudo 36 13 267
Source file: /home/sergeyb/sources/src/usr.sbin/ifstated/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/ifstated/ifstated.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 74 19 423
startup_handler 13 2 94
sighup_handler 6 2 32
load_config 24 5 161
rt_msg_handler 45 12 254
sigchld_handler 6 2 37
external_handler 10 1 74
external_exec 30 6 192
adjust_external_expressions 17 2 95
check_external_status 37 11 228
external_evtimer_setup 32 5 163
scan_ifstate_single 34 11 193
scan_ifstate 14 7 98
adjust_expressions 40 13 222
eval_state 13 5 79
state_change 18 4 115
do_action 25 7 138
fetch_ifstate 14 4 85
check_ifdeparture 12 2 64
clear_config 17 4 138
remove_action 23 8 136
remove_expression 33 7 210
Source file: /home/sergeyb/sources/src/usr.sbin/ifstated/ifstated.h
Source file: /home/sergeyb/sources/src/usr.sbin/ifstated/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/hostctl/hostctl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 26
kvsetstr 9 3 71
kvsetfile 22 7 151
main 94 33 675
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/i386_softraid.c
Function nameLOCCyclomatic complexityToken count
sr_install_bootblk 51 15 393
sr_install_bootldr 61 10 482
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/sparc64_installboot.h
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/landisk_installboot.c
Function nameLOCCyclomatic complexityToken count
md_init 7 1 22
md_loadboot 3 1 6
md_installboot 11 4 68
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/stubs.c
Function nameLOCCyclomatic complexityToken count
md_init 4 1 13
md_loadboot 3 1 6
md_installboot 3 1 11
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/sparc64_softraid.c
Function nameLOCCyclomatic complexityToken count
sr_install_bootblk 31 10 240
sr_install_bootldr 17 4 111
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/i386_installboot.h
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/installboot.h
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/installboot.c
Function nameLOCCyclomatic complexityToken count
usage 7 2 35
main 60 24 348
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/bootstrap.c
Function nameLOCCyclomatic complexityToken count
bootstrap 72 22 507
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/i386_nlist.c
Function nameLOCCyclomatic complexityToken count
__elf_is_okay__ 13 7 71
__elf_fdnlist 143 44 934
nlist_elf32 10 2 61
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/util.c
Function nameLOCCyclomatic complexityToken count
filecopy 54 11 335
fileprefix 22 5 133
crc32 15 3 99
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/sparc64_installboot.c
Function nameLOCCyclomatic complexityToken count
md_init 7 1 22
md_loadboot 36 11 276
md_installboot 17 8 109
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/hppa_installboot.c
Function nameLOCCyclomatic complexityToken count
md_init 5 1 14
md_loadboot 3 1 6
md_installboot 4 1 22
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/softraid.c
Function nameLOCCyclomatic complexityToken count
sr_installboot 11 3 79
sr_volume 26 7 193
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/i386_installboot.c
Function nameLOCCyclomatic complexityToken count
md_init 7 1 22
md_loadboot 9 4 63
md_installboot 28 11 199
write_bootblocks 36 11 266
write_efisystem 133 31 893
findopenbsd 59 21 394
gpt_chk_mbr 23 9 137
findgptefisys 79 21 643
loadproto 34 9 287
devread 5 2 54
getbootparams 90 19 785
sym_set_value 12 4 82
pbr_set_symbols 48 11 313
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/armv7_installboot.c
Function nameLOCCyclomatic complexityToken count
md_init 3 1 6
md_loadboot 3 1 6
md_installboot 16 5 105
write_efisystem 124 28 825
findmbrfat 31 12 235
Source file: /home/sergeyb/sources/src/usr.sbin/rdate/ntp.c
Function nameLOCCyclomatic complexityToken count
ntp_client 37 9 256
sync_ntp 59 18 391
write_packet 16 2 135
read_packet 61 15 380
unpack_ntp 17 3 183
current_time 11 3 70
create_timeval 21 5 157
print_packet 13 1 100
Source file: /home/sergeyb/sources/src/usr.sbin/rdate/rfc868time.c
Function nameLOCCyclomatic complexityToken count
rfc868time_client 45 9 326
Source file: /home/sergeyb/sources/src/usr.sbin/rdate/ntpleaps.c
Function nameLOCCyclomatic complexityToken count
ntpleaps_init 17 4 67
ntpleaps_sub 19 5 90
read_be_dword 6 1 29
ntpleaps_read 57 10 396
Source file: /home/sergeyb/sources/src/usr.sbin/rdate/ntpleaps.h
Source file: /home/sergeyb/sources/src/usr.sbin/rdate/rdate.c
Function nameLOCCyclomatic complexityToken count
usage 5 1 23
main 118 32 748
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_decide.c
Function nameLOCCyclomatic complexityToken count
prefix_cmp 78 32 710
prefix_evaluate 42 17 315
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/bgpd.c
Function nameLOCCyclomatic complexityToken count
sighdlr 16 6 46
usage 7 1 25
main 221 60 1315
start_child 35 9 181
send_filterset 9 2 65
reconfigure 101 26 839
dispatch_imsg 157 54 819
send_nexthop_update 18 7 130
send_imsg_session 4 1 35
send_network 13 5 113
bgpd_filternexthop 20 17 137
control_setup 41 16 291
set_pollfd 11 4 68
handle_pollfd 28 9 172
imsg_send_sockets 24 7 207
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/config.c
Function nameLOCCyclomatic complexityToken count
new_config 26 6 209
free_networks 9 2 53
free_rdomains 11 2 65
free_config 21 3 137
merge_config 74 14 580
get_bgpid 19 6 131
host 30 7 223
host_v4 17 4 129
host_v6 14 2 93
prepare_listeners 72 14 570
get_mpe_label 20 3 143
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/timer.c
Function nameLOCCyclomatic complexityToken count
getmonotime 7 2 34
timer_get 8 2 44
timer_nextisdue 8 4 54
timer_nextduein 7 3 58
timer_running 10 4 70
timer_set 21 7 166
timer_stop 9 2 63
timer_remove 8 2 50
timer_remove_all 8 2 49
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 46 8 308
control_listen 8 3 42
control_shutdown 4 1 12
control_cleanup 5 2 18
control_accept 28 8 178
control_connbyfd 9 2 40
control_connbypid 9 2 40
control_close 14 2 82
control_dispatch_msg 288 91 1713
control_imsg_relay 12 5 121
control_result 5 1 41
imsg_read_nofd 14 3 98
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/logmsg.c
Function nameLOCCyclomatic complexityToken count
log_fmt_peer 25 10 181
log_peer_info 13 2 87
log_peer_warn 19 4 128
log_peer_warnx 13 2 87
log_statechange 16 7 108
log_notification 61 15 331
log_conn_attempt 16 4 99
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde.c
Function nameLOCCyclomatic complexityToken count
rde_sighdlr 9 3 25
rde_main 149 38 1029
rde_dispatch_imsg_session 283 69 1652
rde_dispatch_imsg_parent 230 59 1354
rde_update_dispatch 351 62 2049
rde_update_update 30 8 226
rde_update_withdraw 16 5 118
rde_attr_parse 270 81 1550
rde_attr_add 28 7 183
rde_attr_missing 17 10 130
rde_get_mp_nexthop 41 8 231
rde_update_extract_prefix 23 5 141
rde_update_get_prefix 17 3 112
rde_update_get_prefix6 17 3 112
rde_update_get_vpn4 42 10 346
rde_update_err 14 5 139
rde_update_log 23 8 190
rde_as4byte_fixup 42 14 250
rde_reflector 48 15 382
rde_dump_rib_as 74 19 629
rde_dump_filterout 20 5 141
rde_dump_filter 35 19 290
rde_dump_upcall 7 1 46
rde_dump_prefix_upcall 16 4 121
rde_dump_ctx_new 74 16 437
rde_dump_ctx_throttle 10 2 46
rde_dump_runner 9 3 58
rde_dump_pending 8 2 37
rde_dump_done 8 1 49
rde_dump_rib_free 9 3 61
rde_dump_mrt_new 30 4 231
rde_dump_mrt_free 9 3 64
rde_rib_free 6 1 33
rde_rdomain_import 9 2 58
rde_send_kroute 54 16 402
rde_generate_updates 15 6 90
rde_up_dump_upcall 9 3 59
rde_update_queue_runner 51 11 274
rde_update6_queue_runner 54 14 313
rde_send_pftable 17 5 129
rde_send_pftable_commit 8 3 44
rde_send_nexthop 11 3 64
rde_reload_done 101 20 645
rde_softreconfig_in 42 14 335
rde_softreconfig_out 35 15 301
rde_softreconfig_unload_peer 22 5 153
rde_local_as 4 1 13
rde_noevaluate 6 2 24
rde_decisionflags 4 1 15
rde_as4byte 4 1 18
peer_init 20 5 152
peer_shutdown 8 3 50
peer_get 11 2 54
peer_add 24 4 178
peer_localaddrs 42 15 290
peer_up 38 10 265
peer_down 23 3 134
peer_flush 16 3 101
peer_stale 16 4 90
peer_dump 15 4 89
peer_recv_eor 9 2 72
peer_send_eor 35 5 264
network_add 65 10 456
network_delete 41 7 290
network_dump_upcall 28 6 230
rde_shutdown 20 5 125
sa_cmp 29 8 189
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/mrt.c
Function nameLOCCyclomatic complexityToken count
mrt_dump_bgp_msg 20 6 129
mrt_dump_state 17 3 105
mrt_attr_dump 88 26 634
mrt_dump_entry_mp 96 15 632
mrt_dump_entry 71 14 488
mrt_dump_entry_v2 86 12 578
mrt_dump_v2_hdr 46 7 308
mrt_dump_peer 35 8 191
mrt_dump_upcall 17 3 107
mrt_done 5 1 21
mrt_dump_hdr_se 91 24 551
mrt_dump_hdr_rde 39 7 173
mrt_write 9 3 49
mrt_clean 10 2 68
mrt_init 5 1 28
mrt_open 24 5 178
mrt_timeout 20 6 129
mrt_reconfigure 27 8 182
mrt_handler 18 7 103
mrt_get 14 5 84
mrt_mergeconfig 29 6 223
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/name2id.c
Function nameLOCCyclomatic complexityToken count
rtlabel_name2id 4 1 20
rtlabel_id2name 4 1 18
rtlabel_unref 4 1 15
rtlabel_ref 4 1 15
pftable_name2id 4 1 20
pftable_id2name 4 1 18
pftable_unref 4 1 15
pftable_ref 4 1 15
_name2id 35 10 238
_id2name 10 3 56
_unref 17 5 100
_ref 11 3 50
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/session.c
Function nameLOCCyclomatic complexityToken count
session_sighdlr 9 3 25
setup_listeners 46 10 284
session_main 336 85 2204
init_conf 7 3 35
init_peer 18 5 141
bgp_fsm 216 50 1008
start_timer_holdtime 7 2 36
start_timer_keepalive 7 2 38
session_close_connection 8 2 44
change_state 91 33 612
session_accept 76 26 447
session_connect 57 14 416
session_setup_socket 77 20 474
session_tcp_established 12 3 90
session_capa_ann_none 4 1 28
session_capa_add 7 1 55
session_capa_add_mp 13 2 105
session_capa_add_gr 19 3 138
session_newmsg 23 4 193
session_sendmsg 22 12 200
session_open 103 22 785
session_keepalive 11 3 62
session_update 27 6 157
session_notification 31 6 211
session_neighbor_rrefresh 11 4 71
session_rrefresh 28 5 194
session_graceful_restart 24 6 203
session_graceful_stop 15 4 119
session_dispatch_msg 80 28 546
session_process_msg 71 22 430
parse_header 89 14 556
parse_open 152 23 1003
parse_update 16 2 102
parse_refresh 22 3 149
parse_notification 120 20 656
parse_capabilities 135 20 801
capa_neg_calc 41 13 409
session_dispatch_imsg 388 107 2303
la_cmp 29 8 204
getpeerbyaddr 9 3 57
getpeerbydesc 17 5 94
getpeerbyip 42 16 320
session_template_clone 27 6 199
session_match_mask 18 5 140
getpeerbyid 8 3 42
session_down 8 2 71
session_up 16 3 174
imsg_ctl_parent 5 1 41
imsg_ctl_rde 4 1 38
session_demote 11 2 84
session_stop 28 9 147
session_link_state_is_up 9 4 48
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde.h
Function nameLOCCyclomatic complexityToken count
re_rib 4 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/carp.c
Function nameLOCCyclomatic complexityToken count
carp_group_find 8 2 44
carp_demote_init 25 7 162
carp_demote_shutdown 11 4 73
carp_demote_get 21 4 140
carp_demote_set 18 7 118
carp_demote_ioctl 21 5 156
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_rib.c
Function nameLOCCyclomatic complexityToken count
re_lock 4 1 29
re_unlock 4 1 29
re_is_locked 4 1 21
rib_tree 4 1 17
rib_new 29 6 247
rib_find 11 5 79
rib_desc 4 1 20
rib_free 25 5 185
rib_compare 4 1 30
rib_get 9 1 68
rib_lookup 25 8 129
rib_add 21 4 143
rib_remove 14 5 88
rib_empty 4 1 18
rib_dump 12 2 88
rib_dump_r 25 9 157
rib_restart 12 4 72
path_init 13 4 99
path_shutdown 8 3 50
path_update 25 6 178
path_compare 40 18 315
path_lookup 11 3 70
path_remove 14 3 95
path_remove_stale 25 7 168
path_destroy 12 3 70
path_empty 4 1 18
path_link 10 1 66
path_copy 22 2 142
path_get 12 2 65
path_put 13 3 66
prefix_get 9 2 64
prefix_add 21 4 138
prefix_move 25 3 169
prefix_remove 20 4 125
prefix_write 29 6 234
prefix_writebuf 22 6 130
prefix_bypeer 14 4 85
prefix_updateall 19 7 138
prefix_destroy 9 2 42
prefix_network_clean 19 6 139
prefix_link 11 1 81
prefix_unlink 16 3 102
prefix_alloc 9 2 43
prefix_free 5 1 19
nexthop_init 13 4 99
nexthop_shutdown 16 4 108
nexthop_update 34 6 205
nexthop_modify 32 10 144
nexthop_link 6 2 33
nexthop_unlink 10 2 51
nexthop_delete 12 4 76
nexthop_get 18 3 106
nexthop_compare 27 9 196
nexthop_lookup 10 2 57
nexthop_hash 17 3 97
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/pftable.c
Function nameLOCCyclomatic complexityToken count
pftable_change 22 6 168
pftable_clear 14 3 104
pftable_exists 16 3 123
pftable_add 19 4 140
pftable_clear_all 13 2 73
pftable_add_work 43 13 325
pftable_addr_add 4 1 30
pftable_addr_remove 4 1 30
pftable_commit 14 3 81
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/pfkey.c
Function nameLOCCyclomatic complexityToken count
pfkey_send 298 43 2124
pfkey_read 23 10 155
pfkey_reply 53 11 326
pfkey_sa_add 15 5 151
pfkey_sa_remove 10 3 89
pfkey_md5sig_establish 16 5 147
pfkey_md5sig_remove 13 5 108
pfkey_ipsec_establish 68 18 531
pfkey_ipsec_remove 56 18 457
pfkey_establish 14 3 119
pfkey_remove 9 3 51
pfkey_init 13 3 69
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/util.c
Function nameLOCCyclomatic complexityToken count
log_addr 21 6 137
log_in6addr 17 3 146
log_sockaddr 9 2 51
log_as 7 2 43
log_rd 29 4 181
log_ext_subtype 11 4 80
log_shutcomm 5 1 43
aspath_delim 29 9 129
aspath_snprint 32 6 220
aspath_asprint 16 3 98
aspath_strlen 33 9 183
aspath_match 44 14 298
as_compare 13 12 101
aspath_extract 8 1 54
prefix_compare 58 20 500
prefixlen2mask 6 2 30
inet6applymask 13 4 118
aid2str 6 2 28
aid2afi 9 2 54
afi2aid 10 4 68
aid2af 6 2 28
af2aid 12 5 78
addr2sa 26 4 186
sa2addr 17 3 127
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_filter.c
Function nameLOCCyclomatic complexityToken count
rde_apply_set 278 76 1422
rde_filter_match 159 61 1062
rde_filter_equal 57 42 511
filterlist_free 12 3 64
filterset_free 21 7 131
filterset_cmp 34 13 316
filterset_move 11 3 65
filterset_equal 106 54 629
filterset_name 45 25 166
rde_filter_calc_skip_steps 23 8 161
rde_filter 45 14 307
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_attr.c
Function nameLOCCyclomatic complexityToken count
attr_write 26 5 154
attr_writebuf 20 5 144
attr_init 13 4 99
attr_shutdown 8 3 50
attr_optadd 40 11 295
attr_optget 13 5 89
attr_copy 20 6 144
attr_diff 27 11 183
attr_compare 18 10 173
attr_free 12 4 100
attr_freeall 9 2 56
attr_alloc 29 4 228
attr_lookup 22 6 173
attr_put 15 4 78
aspath_verify 32 15 203
aspath_init 13 4 99
aspath_shutdown 8 3 50
aspath_get 23 3 148
aspath_put 13 3 62
aspath_inflate 30 6 208
aspath_deflate 39 7 265
aspath_merge 28 7 239
aspath_dump 4 1 16
aspath_length 4 1 16
aspath_count 20 4 108
aspath_countlength 28 9 178
aspath_countcopy 34 8 203
aspath_neighbor 6 2 36
aspath_loopfree 18 5 119
aspath_compare 14 5 93
aspath_lookup 13 3 85
aspath_prepend 57 14 402
aspath_lenmatch 29 7 180
community_match 22 7 148
community_set 34 10 275
community_delete 50 15 352
community_ext_match 19 4 121
community_ext_set 35 8 263
community_ext_delete 38 10 269
community_ext_conv 34 5 236
community_ext_matchone 68 19 469
community_large_match 25 9 169
community_large_set 36 9 266
community_large_delete 50 19 361
community_ext_delete_non_trans 24 7 174
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/session.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/mrt.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/printconf.c
Function nameLOCCyclomatic complexityToken count
print_op 32 9 103
print_community 19 7 100
print_largecommunity 27 10 142
print_extcommunity 37 10 196
print_origin 11 4 50
print_set 99 26 495
print_mainconf 35 13 255
print_rdomain_targets 9 1 51
print_rdomain 18 3 125
print_af 8 3 37
print_network 23 5 144
print_peer 112 44 891
print_auth_alg 11 3 36
print_enc_alg 11 3 36
print_announce 7 3 53
print_as 19 4 136
print_rule 99 34 754
mrt_type 22 9 64
print_mrt 20 8 155
print_groups 36 9 254
peer_compare 8 1 55
print_config 35 4 229
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_prefix.c
Function nameLOCCyclomatic complexityToken count
pt_init 4 1 12
pt_shutdown 5 2 20
pt_getaddr 24 4 182
pt_fill 43 7 305
pt_get 6 1 37
pt_add 9 2 59
pt_remove 8 3 46
pt_lookup 22 6 90
pt_prefix_cmp 57 20 464
pt_alloc 10 2 66
pt_free 5 1 24
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_update.c
Function nameLOCCyclomatic complexityToken count
up_init 15 2 99
up_clear 19 4 131
up_down 12 2 84
up_prefix_cmp 50 20 455
up_attr_cmp 13 5 126
up_add 58 8 391
up_test_update 52 25 358
up_generate 30 7 218
up_generate_updates 38 11 251
up_generate_default 25 4 162
up_generate_marker 26 4 178
up_get_nexthop 33 11 279
up_generate_mp_reach 111 29 943
up_generate_attr 175 51 1287
up_dump_prefix 28 6 187
up_dump_attrnlri 42 9 314
up_dump_mp_unreach 43 6 320
up_dump_mp_reach 70 14 512
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/bgpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/kroute.c
Function nameLOCCyclomatic complexityToken count
kr_init 36 9 245
ktable_new 46 8 334
ktable_free 13 5 90
ktable_destroy 10 1 63
ktable_get 6 2 26
ktable_update 38 12 271
ktable_preload 10 3 50
ktable_postload 13 5 81
ktable_exists 22 4 134
kr_change 16 5 104
kr4_change 46 10 380
kr6_change 48 10 403
krVPN4_change 58 11 499
kr_delete 16 5 106
kr4_delete 15 5 133
kr6_delete 15 5 132
krVPN4_delete 15 5 135
kr_shutdown 7 2 36
kr_fib_couple 20 5 149
kr_fib_couple_all 6 2 32
kr_fib_decouple 21 5 150
kr_fib_decouple_all 6 2 32
kr_fib_update_prio 14 4 102
kr_fib_update_prio_all 6 2 32
kr_dispatch_msg 4 1 13
kr_nexthop_add 23 6 163
kr_nexthop_delete 16 4 87
kr_show_route 143 31 955
kr_ifinfo 10 2 59
kr_net_delete 5 1 24
kr_net_match 30 12 162
kr_net_match6 31 12 171
kr_net_find 14 5 112
kr_net_reload 36 8 273
kr_redistribute 41 14 302
kr_redistribute6 45 18 340
kr_reload 30 6 197
kr_tofull 16 1 136
kr6_tofull 16 1 150
kroute_compare 18 9 179
kroute6_compare 21 10 197
knexthop_compare 25 9 211
kif_compare 4 1 29
kroute_find 21 5 139
kroute_matchgw 15 4 77
kroute_insert 26 9 207
kroute_remove 48 16 359
kroute_clear 6 2 39
kroute6_find 21 5 150
kroute6_matchgw 15 4 96
kroute6_insert 28 9 225
kroute6_remove 49 16 363
kroute6_clear 6 2 39
knexthop_find 7 1 62
knexthop_insert 11 2 68
knexthop_remove 11 2 68
knexthop_clear 6 2 39
kif_find 7 1 44
kif_insert 11 2 62
kif_remove 27 5 177
kif_clear 6 2 32
kif_kr_insert 22 5 144
kif_kr_remove 22 6 139
kif_kr6_insert 22 5 144
kif_kr6_remove 22 6 139
kif_validate 8 3 43
kroute_validate 15 4 91
kroute6_validate 15 4 92
knexthop_validate 28 7 156
knexthop_track 7 2 42
knexthop_send_update 47 8 349
kroute_match 16 8 139
kroute6_match 16 8 141
kroute_detach_nexthop 24 7 128
protect_lo 24 5 203
prefixlen_classful 13 5 60
mask2prefixlen 7 2 32
mask2prefixlen6 39 11 175
prefixlen2mask6 12 3 80
get_rtaddrs 12 3 87
if_change 40 7 268
if_announce 21 4 119
send_rtmsg 111 13 848
send_rt6msg 87 11 717
fetchtable 179 45 1242
fetchifs 63 12 495
dispatch_rtmsg 58 19 350
dispatch_rtmsg_addr 272 78 1705
Source file: /home/sergeyb/sources/src/usr.sbin/hotplugd/hotplugd.c
Function nameLOCCyclomatic complexityToken count
main 67 13 419
exec_script 20 5 138
sigchild 30 7 150
sigquit 4 1 11
usage 6 1 25
Source file: /home/sergeyb/sources/src/usr.sbin/rmt/rmt.c
Function nameLOCCyclomatic complexityToken count
main 179 42 1124
getstring 10 4 66
checkbuf 17 6 97
error 6 1 56
usage 7 1 28
Source file: /home/sergeyb/sources/src/usr.sbin/map-mbone/mapper.c
Function nameLOCCyclomatic complexityToken count
find_node 18 4 125
find_interface 13 3 87
find_neighbor 11 4 69
logit 26 11 174
ask 5 1 25
ask2 5 1 25
accept_group_report 6 1 39
accept_probe 6 1 43
accept_report 6 1 43
accept_neighbor_request 7 2 39
accept_neighbor_request2 7 2 39
accept_neighbors 126 32 827
accept_neighbors2 115 32 767
check_vif_state 4 1 15
retry_requests 17 6 86
inet_name 6 2 40
print_map 61 22 433
graph_name 9 2 51
graph_edges 40 16 312
elide_aliases 18 6 118
graph_map 11 1 53
host_addr 13 3 66
usage 12 1 54
main 121 31 684
accept_prune 3 1 17
accept_graft 3 1 17
accept_g_ack 3 1 17
add_table_entry 3 1 10
accept_leave_message 3 1 13
accept_mtrace 4 1 23
accept_membership_query 4 1 16
accept_info_request 3 1 17
accept_info_reply 3 1 17
Source file: /home/sergeyb/sources/src/usr.sbin/pstat/pstat.c
Function nameLOCCyclomatic complexityToken count
main 182 81 1218
vnodemode 54 15 371
vnodemodeprep 12 3 72
vnode_header 4 1 26
vnode_print 58 23 331
ufs_header 4 1 14
ufs_print 51 18 357
ext2fs_header 4 1 14
ext2fs_print 37 13 247
nfs_header 4 1 14
nfs_print 39 13 297
getmnt 19 4 136
mount_print 121 24 649
kinfo_vnodes 38 7 307
tty2itty 15 2 130
ttymode 24 6 159
ttymodeprep 20 5 157
ttyprt 35 10 278
filemode 52 19 441
filemodeprep 26 8 176
swapmode 74 14 513
usage 6 1 22
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpctl/dvmrpctl.c
Function nameLOCCyclomatic complexityToken count
usage 6 1 25
main 144 50 895
show_summary_msg 17 3 78
show_interface_msg 27 6 165
show_interface_detail_msg 45 7 267
show_igmp_msg 35 7 202
print_if_type 11 3 37
print_nbr_state 13 4 44
print_link 7 2 24
fmt_timeframe 7 2 32
fmt_timeframe_core 29 5 179
mask2prefixlen 7 2 32
show_nbr_msg 20 3 106
print_dvmrp_options 12 7 79
show_nbr_detail_msg 15 3 57
show_rib_msg 26 6 145
show_rib_detail_msg 13 3 46
show_mfc_msg 38 9 238
show_mfc_detail_msg 13 3 46
get_linkstate 11 3 77
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 24 6 150
match_token 74 29 448
show_valid_args 25 9 117
parse_addr 13 3 83
parse_prefix 21 4 155
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/ask_nbrs2.c
Function nameLOCCyclomatic complexityToken count
send_ask_nbrs2 27 4 206
recv_ask_nbrs2 5 1 30
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/group.c
Function nameLOCCyclomatic complexityToken count
group_fsm 76 19 471
dead_timer 6 1 40
start_dead_timer 9 1 71
start_dead_timer_all 14 2 92
stop_dead_timer 5 1 32
v1_host_timer 6 1 40
start_v1_host_timer 9 1 71
stop_v1_host_timer 5 1 32
retrans_timer 12 2 83
start_retrans_timer 8 1 55
stop_retrans_timer 5 1 32
group_list_add 25 4 193
group_list_remove 11 1 67
group_list_find 11 3 68
group_list_clr 9 2 55
group_list_empty 4 1 20
group_list_dump 10 1 69
group_event_name 4 1 15
group_action_name 4 1 15
group_to_ctl 18 3 135
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/nbrs2.c
Function nameLOCCyclomatic complexityToken count
send_nbrs2 27 4 206
recv_nbrs2 5 1 30
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/dvmrp.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 8 2 36
log_verbose 4 1 11
logit 7 1 38
vlog 15 3 90
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
fatal 17 4 79
fatalx 5 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/graft.c
Function nameLOCCyclomatic complexityToken count
send_graft 27 4 206
recv_graft 5 1 30
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/dvmrpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/dvmrpe.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/probe.c
Function nameLOCCyclomatic complexityToken count
send_probe 31 5 241
recv_probe 42 10 266
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 36 6 245
control_listen 12 2 78
control_cleanup 6 1 27
control_accept 34 9 268
control_connbyfd 9 2 42
control_connbypid 9 2 42
control_close 17 3 116
control_dispatch_imsg 85 25 544
control_imsg_relay 8 2 76
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/logmsg.c
Function nameLOCCyclomatic complexityToken count
nbr_state_name 13 4 44
if_state_name 13 4 44
group_state_name 15 5 52
if_type_name 10 3 35
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/rde.c
Function nameLOCCyclomatic complexityToken count
rde_sig_handler 10 3 37
rde 59 11 448
rde_shutdown 18 1 100
rde_imsg_compose_parent 4 1 38
rde_imsg_compose_dvmrpe 6 1 41
rde_dispatch_imsg 125 39 841
rde_select_ds_ifs 17 5 110
rde_group_list_add 20 4 125
rde_group_list_find 15 3 90
rde_group_list_remove 20 5 134
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/dvmrpd.c
Function nameLOCCyclomatic complexityToken count
main_sig_handler 12 4 42
usage 6 1 25
main 126 25 862
dvmrpd_shutdown 32 9 199
main_dispatch_dvmrpe 52 17 278
main_dispatch_rde 52 17 326
main_imsg_compose_dvmrpe 4 1 35
main_imsg_compose_rde 4 1 35
imsg_event_add 9 2 73
imsg_compose_event 9 2 70
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/report.c
Function nameLOCCyclomatic complexityToken count
send_report 28 4 215
recv_report 39 6 284
report_timer 8 1 54
start_report_timer 7 1 36
stop_report_timer 4 1 17
rr_list_add 11 3 74
rr_list_remove 5 2 23
rr_list_clr 9 2 50
rr_list_send 52 10 367
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/interface.c
Function nameLOCCyclomatic complexityToken count
if_fsm 45 11 267
if_find_index 9 2 43
if_new 48 11 417
if_init 10 1 74
if_del 10 2 57
if_nbr_list_empty 4 1 20
if_probe_timer 11 2 64
if_start_probe_timer 6 1 33
if_stop_probe_timer 4 1 20
if_query_timer 15 3 90
if_start_query_timer 6 1 33
if_stop_query_timer 4 1 20
if_querier_present_timer 5 1 28
if_start_querier_present_timer 8 1 53
if_stop_querier_present_timer 4 1 20
if_reset_querier_present_timer 8 1 53
if_act_start 47 9 267
if_act_query_seen 15 3 62
if_act_reset 42 7 231
if_event_name 4 1 15
if_action_name 4 1 15
if_set_mcast_ttl 10 2 56
if_set_tos 9 2 55
if_set_recvbuf 8 2 40
if_join_group 20 4 113
if_leave_group 20 4 113
if_set_mcast 18 4 90
if_set_mcast_loop 10 2 55
if_to_ctl 60 5 512
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/rde.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/kmroute.c
Function nameLOCCyclomatic complexityToken count
kmr_init 18 2 138
kmr_shutdown 11 1 55
kmr_recv_msg 36 11 203
kmr_mfc_couple 4 1 11
kmr_mfc_decouple 4 1 11
kmroute_clear 3 1 6
mrt_init 10 2 51
mrt_done 10 2 51
mrt_add_vif 16 2 101
mrt_del_vif 8 2 47
mrt_add_mfc 20 3 138
mrt_del_mfc 14 2 90
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/rde_srt.c
Function nameLOCCyclomatic complexityToken count
rt_expire_timer 13 2 87
rt_start_expire_timer 11 3 75
rt_holddown_timer 7 1 42
rt_start_holddown_timer 11 3 68
rt_init 4 1 12
rt_compare 12 5 101
rt_find 7 1 42
rr_new_rt 27 3 224
rt_insert 12 2 73
rt_remove 15 3 92
rt_invalidate 11 3 66
rt_clear 6 2 32
rt_snap 15 2 92
rt_dump 26 3 184
rt_update 5 2 21
rt_match_origin 10 2 55
srt_check_route 81 29 553
srt_current_forwarder 18 9 149
srt_update_ds_forwarders 15 6 107
srt_set_forwarder_self 7 1 64
srt_set_upstream 8 2 44
srt_add_ds 13 2 100
srt_find_ds 8 2 48
srt_delete_ds 9 1 64
srt_check_downstream_ifaces 11 4 77
srt_expire_nbr 23 5 160
flash_update 8 1 70
flash_update_ds 8 1 70
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/packet.c
Function nameLOCCyclomatic complexityToken count
gen_dvmrp_hdr 12 1 86
send_packet 21 5 140
recv_packet 115 29 677
ip_hdr_sanity_check 11 3 67
dvmrp_hdr_sanity_check 9 2 50
find_iface 16 8 120
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/prune.c
Function nameLOCCyclomatic complexityToken count
send_prune 34 4 279
recv_prune 21 3 160
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/igmp.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/graft_ack.c
Function nameLOCCyclomatic complexityToken count
send_graft_ack 27 4 206
recv_graft_ack 5 1 30
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/neighbor.c
Function nameLOCCyclomatic complexityToken count
nbr_fsm 64 17 360
nbr_init 12 4 88
nbr_new 21 3 157
nbr_del 8 1 41
nbr_find_peerid 11 2 52
nbr_find_ip 10 2 54
nbr_itimer 6 1 40
nbr_start_itimer 8 1 55
nbr_stop_itimer 4 1 20
nbr_reset_itimer 7 1 43
nbr_act_start 5 1 27
nbr_act_reset_itimer 9 2 42
nbr_act_start_itimer 16 3 79
nbr_act_delete 14 2 100
nbr_act_clear_lists 6 1 34
nbr_event_name 4 1 15
nbr_action_name 4 1 15
nbr_to_ctl 20 3 175
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/in_cksum.c
Function nameLOCCyclomatic complexityToken count
in_cksum 28 6 172
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/igmp.c
Function nameLOCCyclomatic complexityToken count
send_igmp_query 37 6 247
recv_igmp_query 34 9 207
recv_igmp_report 39 8 202
recv_igmp_leave 28 6 159
igmp_chksum 9 2 50
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/dvmrpe.c
Function nameLOCCyclomatic complexityToken count
dvmrpe_sig_handler 10 3 37
dvmrpe 88 18 673
dvmrpe_shutdown 22 2 132
dvmrpe_imsg_compose_parent 4 1 38
dvmrpe_imsg_compose_rde 6 1 41
dvmrpe_dispatch_main 64 18 366
dvmrpe_dispatch_rde 123 38 797
dvmrpe_iface_ctl 11 3 80
dvmrpe_iface_igmp_ctl 12 3 87
dvmrpe_nbr_ctl 13 1 101
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/rde_mfc.c
Function nameLOCCyclomatic complexityToken count
mfc_expire_timer 11 1 80
mfc_reset_expire_timer 7 1 39
mfc_start_expire_timer 8 1 51
mfc_prune_timer 6 1 41
mfc_start_prune_timer 8 1 51
mfc_reset_prune_timer 7 1 39
mfc_init 4 1 12
mfc_compare 12 5 121
mfc_find 7 1 44
mfc_insert 10 2 53
mfc_remove 10 2 53
mfc_clear 6 2 32
mfc_dump 26 3 192
mfc_find_origin 8 2 51
mfc_send_prune 13 1 125
mfc_update_source 28 7 215
mfc_update 37 8 266
mfc_delete 7 2 44
mfc_check_members 11 3 69
mfc_recv_prune 43 8 256
mfc_add_prune 17 2 130
mfc_find_prune 9 2 56
mfc_delete_prune 10 3 72
prune_compare 6 2 43
mfc_reset_prune_expire_timer 7 1 39
prune_expire_timer 8 1 58
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/printconf.c
Function nameLOCCyclomatic complexityToken count
print_mainconf 7 2 28
print_iface 16 2 106
print_config 11 1 52
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/kroute.c
Function nameLOCCyclomatic complexityToken count
kif_init 7 2 32
kr_init 17 3 120
kr_shutdown 5 1 23
kr_ifinfo 10 2 59
kif_compare 4 1 29
kif_find 7 1 46
kif_findname 8 2 49
kif_insert 9 2 46
kif_remove 9 2 46
kif_clear 6 2 32
prefixlen_classful 13 5 60
mask2prefixlen 7 2 32
prefixlen2mask 6 2 30
if_change 19 4 139
if_announce 21 4 119
get_rtaddrs 12 3 87
fetchifs 65 13 518
kr_dispatch_msg 36 11 214
Source file: /home/sergeyb/sources/src/usr.sbin/trpt/trpt.c
Function nameLOCCyclomatic complexityToken count
main 101 39 687
dotrace 46 14 323
tcp_trace 96 21 607
numeric 13 3 67
usage 6 1 24
Source file: /home/sergeyb/sources/src/usr.sbin/arp/arp.c
Function nameLOCCyclomatic complexityToken count
main 96 40 462
file 29 6 243
getsocket 13 5 90
set 83 23 495
get 18 3 115
delete 49 17 265
search 46 11 328
dump 7 1 40
print_entry 42 12 336
nuke_entry 7 1 47
ether_str 12 2 99
usage 9 1 34
rtmsg 58 14 356
rtget 35 9 200
getinetaddr 12 3 88
sec2str 36 12 240
wake 28 11 201
do_wakeup 11 4 86
bind_if_to_bpf 15 5 99
get_ether 13 3 62
send_frame 19 3 173
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/atomicio.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/i8253.c
Function nameLOCCyclomatic complexityToken count
i8253_init 20 1 199
i8253_do_readback 78 18 547
vcpu_exit_i8253 94 14 623
i8253_reset 9 1 68
i8253_fire 10 2 80
i8253_dump 10 2 56
i8253_restore 18 3 129
i8253_stop 6 2 32
i8253_start 7 3 35
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/ufs.c
Function nameLOCCyclomatic complexityToken count
read_inode 34 4 213
block_map 50 12 366
buf_read_file 36 7 274
search_directory 34 9 231
ufs_open 111 29 684
ufs_close 8 2 48
ufs_close_internal 13 4 96
ufs_read 24 6 148
ufs_write 4 1 25
ufs_seek 18 4 89
ufs_stat 9 1 73
ufs_readdir 33 9 240
ffs_oldfscompat 18 4 127
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/atomicio.c
Function nameLOCCyclomatic complexityToken count
atomicio6 33 9 200
atomicio 4 1 44
atomiciov6 53 18 361
atomiciov 5 1 48
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 43
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/priv.c
Function nameLOCCyclomatic complexityToken count
priv 4 1 32
priv_run 6 2 52
priv_dispatch_parent 115 38 831
priv_getiftype 17 6 125
priv_findname 9 3 61
priv_validgroup 8 4 55
vm_priv_ifconfig 95 21 787
vm_priv_brconfig 30 5 243
vm_priv_addr 20 7 146
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/config.c
Function nameLOCCyclomatic complexityToken count
config_init 22 6 166
config_purge 23 7 159
config_setconfig 13 3 79
config_getconfig 7 1 55
config_setreset 13 4 92
config_getreset 9 1 60
config_setvm 182 43 1256
config_getvm 23 4 151
config_getdisk 20 5 141
config_getif 24 6 166
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/disklabel.c
Function nameLOCCyclomatic complexityToken count
dkcksum 10 2 63
getdisklabel 21 7 149
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmd.h
Function nameLOCCyclomatic complexityToken count
ss2sin 4 1 19
ss2sin6 4 1 19
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/i8259.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/task.c
Function nameLOCCyclomatic complexityToken count
taskq_create 28 5 164
taskq_run 19 3 132
task_set 6 1 41
task_add 16 3 103
task_del 15 3 97
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/control.c
Function nameLOCCyclomatic complexityToken count
control 4 1 32
control_run 5 2 35
control_dispatch_vmd 34 14 182
control_init 48 9 358
control_listen 14 3 96
control_cleanup 7 2 35
control_accept 43 10 328
control_connbyfd 9 2 42
control_close 17 3 123
control_dispatch_imsg 131 38 800
control_imsg_forward 9 2 72
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/loadfile_elf.c
Function nameLOCCyclomatic complexityToken count
setsegment 16 2 116
push_gdt 12 3 106
push_pt 15 2 137
loadfile_elf 34 8 326
create_bios_memmap 28 6 179
push_bootargs 25 1 216
push_stack 19 2 153
mread 42 10 266
marc4random_buf 24 6 152
mbzero 21 6 126
mbcopy 4 1 23
elf64_exec 157 46 1225
elf32_exec 156 45 1210
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmboot.c
Function nameLOCCyclomatic complexityToken count
vmboot_bootcmd 36 11 308
vmboot_bootargs 52 12 296
vmboot_bootdevice 28 8 172
vmboot_bootconf 27 10 222
vmboot_strategy 27 6 163
vmboot_findopenbsd 60 19 422
vmboot_loadfile 28 5 191
vmboot_open 59 10 419
vmboot_close 5 1 25
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/mc146818.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vm.c
Function nameLOCCyclomatic complexityToken count
loadfile_bios 16 6 134
start_vm 68 18 483
vm_dispatch_vmm 79 21 516
vm_shutdown 18 4 99
send_vm 70 16 437
dump_send_header 26 3 235
dump_mem 13 3 72
restore_mem 9 2 55
dump_vmr 18 4 116
restore_vmr 13 4 95
pause_vm 9 2 36
unpause_vm 11 3 60
vcpu_reset 12 2 97
create_memory_map 30 5 211
alloc_guest_mem 22 4 148
vmm_create_vm 15 7 92
init_emulated_hw 38 5 305
restore_emulated_hw 31 3 251
run_vm 147 36 896
event_thread 11 1 53
vcpu_run_loop 83 18 443
vcpu_pic_intr 11 2 74
vcpu_exit_pci 25 7 109
vcpu_exit_inout 11 4 87
vcpu_exit 45 18 187
find_gpa_range 31 10 209
vaddr_mem 16 4 112
write_mem 27 4 156
read_mem 26 4 153
iovec_mem 28 5 164
vcpu_assert_pic_irq 19 6 126
vcpu_deassert_pic_irq 8 3 45
fd_hasdata 13 4 87
mutex_lock 9 2 33
mutex_unlock 9 2 33
set_return_data 16 4 83
get_input_data 19 4 96
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/virtio.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmboot.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/ns8250.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/packet.c
Function nameLOCCyclomatic complexityToken count
checksum 15 5 102
wrapsum 5 1 21
assemble_hw_header 19 3 119
assemble_udp_ip_header 33 2 362
decode_hw_header 36 7 225
decode_udp_ip_header 91 23 696
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/task.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/virtio.c
Function nameLOCCyclomatic complexityToken count
vioblk_cmd_name 13 8 60
dump_descriptor_chain 21 2 115
virtio_reg_name 19 14 104
vring_size 9 1 61
viornd_update_qs 9 2 66
viornd_update_qa 6 2 37
viornd_notifyq 61 8 425
virtio_rnd_io 63 19 293
vioblk_update_qa 6 2 40
vioblk_update_qs 9 2 69
vioblk_free_info 7 2 28
vioblk_start_read 18 3 103
vioblk_finish_read 9 2 55
vioblk_start_write 22 4 129
vioblk_finish_write 8 2 47
vioblk_notifyq 227 29 1355
virtio_blk_io 202 59 1183
virtio_net_io 92 26 491
vionet_update_qa 6 2 40
vionet_update_qs 9 2 69
vionet_enq_rx 69 9 513
vionet_rx 29 11 189
vionet_rx_event 13 3 79
vionet_process_rx 17 5 110
vionet_notify_rx 25 3 149
vionet_notifyq 129 22 859
vmmci_ctl 36 9 193
vmmci_ack 33 8 160
vmmci_timeout 5 2 38
vmmci_io 78 24 389
virtio_init 167 22 1183
vmmci_restore 17 3 123
viornd_restore 14 3 86
vionet_restore 53 8 385
vioblk_restore 30 6 208
virtio_restore 15 5 128
viornd_dump 9 2 56
vmmci_dump 9 2 56
vionet_dump 11 2 61
vioblk_dump 11 2 61
virtio_dump 13 5 83
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/pci.c
Function nameLOCCyclomatic complexityToken count
pci_add_bar 37 7 317
pci_set_bar_fn 10 3 75
pci_get_dev_irq 7 2 32
pci_add_device 27 5 219
pci_init 13 2 69
pci_handle_address_reg 9 2 52
pci_handle_io 45 11 316
pci_handle_data_reg 71 22 512
pci_dump 9 2 56
pci_restore 9 2 56
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/mc146818.c
Function nameLOCCyclomatic complexityToken count
rtc_updateregs 15 1 167
rtc_fire1 12 2 79
rtc_fireper 6 1 48
mc146818_init 22 1 210
rtc_reschedule_per 13 3 98
rtc_update_rega 9 3 48
rtc_update_regb 10 4 55
vcpu_exit_mc146818 52 14 270
mc146818_dump 9 2 56
mc146818_restore 14 2 130
mc146818_stop 5 1 21
mc146818_start 5 1 31
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/i8259.c
Function nameLOCCyclomatic complexityToken count
i8259_pic_name 8 3 30
i8259_init 8 2 54
i8259_is_pending 10 2 72
i8259_ack 57 17 427
i8259_assert_irq 19 4 146
i8259_deassert_irq 13 3 88
i8259_write_datareg 51 13 276
i8259_specific_eoi 8 2 72
i8259_nonspecific_eoi 11 3 59
i8259_rotate_priority 6 2 35
i8259_write_cmdreg 94 23 436
i8259_read_datareg 5 1 25
i8259_read_cmdreg 9 3 56
i8259_io_write 25 7 120
i8259_io_read 25 7 117
vcpu_exit_i8259 10 2 53
i8259_dump 9 2 56
i8259_restore 11 3 73
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/proc.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/dhcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/dhcp.c
Function nameLOCCyclomatic complexityToken count
dhcp_request 153 36 1402
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/i8253.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/proc.c
Function nameLOCCyclomatic complexityToken count
proc_ispeer 9 3 55
proc_getid 13 3 75
proc_exec 52 11 398
proc_connect 24 9 191
proc_init 42 11 301
proc_accept 24 4 185
proc_setup 42 13 451
proc_kill 30 11 180
proc_open 34 10 319
proc_close 21 6 171
proc_shutdown 11 4 76
proc_sig_handler 17 7 63
proc_run 64 17 574
proc_dispatch 66 16 439
proc_dispatch_null 4 1 23
imsg_event_add 13 3 95
imsg_compose_event 10 2 75
imsg_composev_event 10 2 77
proc_range 9 2 57
proc_compose_imsg 12 3 106
proc_compose 5 1 48
proc_composev_imsg 11 3 106
proc_composev 5 1 50
proc_forward_imsg 6 1 58
proc_ibuf 6 1 48
proc_iev 6 1 46
proc_flush_imsg 17 6 126
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmm.c
Function nameLOCCyclomatic complexityToken count
vmm 4 1 32
vmm_run 11 3 93
vmm_dispatch_parent 193 40 1215
vmm_sighdlr 52 14 313
vmm_shutdown 11 1 66
vmm_pipe 13 2 95
vmm_dispatch_vm 66 20 398
terminate_vm 7 2 45
opentap 16 4 102
vmm_start_vm 62 12 424
get_info_vm 45 9 335
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmd.c
Function nameLOCCyclomatic complexityToken count
vmd_dispatch_control 210 43 1387
vmd_dispatch_vmm 173 29 1228
check_vmh 107 22 712
vmd_sighdlr 24 7 100
usage 7 1 25
main 105 29 695
vmd_configure 42 10 259
vmd_reload 59 13 330
vmd_shutdown 12 1 63
vm_getbyvmid 11 3 53
vm_getbyid 11 3 57
vm_id2vmid 8 2 54
vm_vmid2id 8 2 62
vm_getbyname 11 3 64
vm_getbypid 9 2 42
vm_stop 39 9 299
vm_remove 11 2 58
vm_register 102 30 788
vm_checkperm 21 10 161
vm_opentty 53 17 378
vm_closetty 13 4 95
switch_remove 9 2 47
switch_getbyname 11 3 60
get_string 8 3 48
prefixlen2mask 8 3 43
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/pci.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmm.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/loadfile.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/ns8250.c
Function nameLOCCyclomatic complexityToken count
ratelimit 6 1 43
ns8250_init 24 2 178
com_rcv_event 17 4 110
com_rcv 20 5 128
vcpu_process_com_data 40 10 290
vcpu_process_com_lcr 27 6 171
vcpu_process_com_iir 11 3 73
vcpu_process_com_mcr 8 2 47
vcpu_process_com_lsr 9 2 52
vcpu_process_com_msr 10 2 54
vcpu_process_com_scr 8 2 47
vcpu_process_com_ier 18 5 116
vcpu_exit_com 38 10 171
ns8250_dump 10 2 62
ns8250_restore 29 3 215
Source file: /home/sergeyb/sources/src/usr.sbin/ikectl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/ikectl/ikeca.c
Function nameLOCCyclomatic complexityToken count
ca_delete 4 1 19
ca_key_create 16 2 101
ca_key_import 12 2 85
ca_key_delete 7 1 47
ca_delkey 13 1 116
ca_request 32 5 236
ca_sign 29 3 164
ca_certificate 29 4 134
ca_key_install 26 4 183
ca_cert_install 19 3 140
ca_newpass 23 7 158
ca_create 31 1 213
ca_install 28 6 216
ca_show_certs 38 7 256
fcopy 19 4 148
fcopy_env 32 10 263
rm_dir 30 10 165
ca_hier 13 5 108
ca_export 138 30 1180
ca_create_index 31 10 250
ca_revoke 41 5 229
ca_clrenv 8 2 51
ca_setenv 17 5 127
ca_setcnf 18 2 125
ca_setup 30 13 314
Source file: /home/sergeyb/sources/src/usr.sbin/ikectl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 23 6 142
parse_addr 12 2 74
match_token 77 36 463
show_valid_args 34 11 153
Source file: /home/sergeyb/sources/src/usr.sbin/ikectl/ikectl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
ca_opt 68 23 396
main 177 66 943
monitor_lookup 8 3 54
monitor 16 3 126
Source file: /home/sergeyb/sources/src/usr.sbin/chroot/chroot.c
Function nameLOCCyclomatic complexityToken count
main 77 28 541
usage 7 1 29
Source file: /home/sergeyb/sources/src/usr.sbin/tftp-proxy/filter.c
Function nameLOCCyclomatic complexityToken count
add_filter 14 7 110
add_rdr 25 11 273
do_commit 6 2 32
do_rollback 6 2 32
init_filter 22 6 120
prepare_commit 14 2 100
prepare_rule 48 10 545
Source file: /home/sergeyb/sources/src/usr.sbin/tftp-proxy/tftp-proxy.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 26
main 105 27 651
source_addresses 21 4 179
proxy_privproc 22 7 192
privproc_pop 60 18 449
privproc_push 44 6 293
proxy_listen 60 13 425
proxy_listener_events 8 1 52
proxy_dst4 17 5 118
proxy_dst6 20 6 135
proxy_recv 73 11 529
unprivproc_push 7 3 54
unprivproc_pop 95 20 760
unprivproc_timeout 8 1 49
opcode 16 3 86
sock_ntop 17 3 132
syslog_vstrerror 10 2 70
syslog_err 8 1 45
syslog_errx 8 1 43
syslog_warn 7 1 37
syslog_warnx 7 1 35
syslog_info 7 1 35
syslog_debug 9 2 42
Source file: /home/sergeyb/sources/src/usr.sbin/tftp-proxy/filter.h
Source file: /home/sergeyb/sources/src/usr.sbin/kgmon/kgmon.c
Function nameLOCCyclomatic complexityToken count
main 59 15 277
kgmon 20 7 125
openfiles 39 19 308
kern_readonly 14 6 92
getprof 21 5 157
setprof 24 7 185
dumpstate 101 23 871
getprofhz 20 4 134
reset 40 11 388
getncpu 12 2 69
Source file: /home/sergeyb/sources/src/usr.sbin/route6d/log.c
Function nameLOCCyclomatic complexityToken count
log_init 13 4 66
logit 7 1 38
log_enqueue 9 1 61
vlog 18 4 136
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 7 1 35
fatal 16 3 79
fatalx 5 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/route6d/route6d.c
Function nameLOCCyclomatic complexityToken count
main 144 43 834
sighandler 17 7 46
rtdexit 14 3 75
ripalarm 34 9 207
init 72 14 505
ripflush 42 8 253
ripsend 96 32 662
out_filter 49 17 298
tobeadv 15 8 84
sendpacket 48 5 331
riprecv 288 72 1877
sendrequest 21 3 132
riprequest 21 7 143
ifconfig 59 14 407
ifconfig1 59 12 482
rtrecv 197 63 1109
rt_del 80 19 513
rt_deladdr 99 20 653
ifrt 94 22 594
ifrt_p2p 114 22 671
getifmtu 32 7 195
rttypes 20 5 124
rtflags 23 1 150
ifflags 23 3 148
krtread 47 10 276
rt_entry 116 34 801
addroute 54 5 479
delroute 50 6 428
getroute 43 9 308
inet6_n2p 5 1 37
ifrtdump 5 1 17
ifdump 23 8 131
ifdump0 54 11 317
rtdump 30 6 202
filterconfig 97 24 641
ifa_match 10 4 65
rtsearch 17 7 95
sin6mask2len 5 1 31
mask2len 22 4 144
applyplen 16 4 99
plen2mask 20 3 121
xstrdup 9 2 36
hms 13 2 76
ripinterval 8 1 52
ripsuptrig 9 1 49
if_maxindex 12 5 69
ifc_find 9 3 53
iff_find 9 3 49
setindex2ifc 24 6 139
Source file: /home/sergeyb/sources/src/usr.sbin/route6d/route6d.h
Source file: /home/sergeyb/sources/src/usr.sbin/route6d/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.statd/test.c
Function nameLOCCyclomatic complexityToken count
sm_stat_1 11 2 70
sm_mon_1 11 2 70
sm_unmon_1 11 2 70
sm_unmon_all_1 11 2 70
sm_simu_crash_1 11 2 72
main 36 6 207
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.statd/statd.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.statd/statd.c
Function nameLOCCyclomatic complexityToken count
main 58 10 363
notify_handler 16 2 72
sync_file 19 4 97
change_host 25 5 169
find_host 25 7 161
walk_one 13 4 119
walk_db 32 10 185
reset_host 10 2 63
check_work 4 2 26
unmon_host 7 2 45
notify_one 23 7 142
init_file 26 6 166
reset_database 9 1 45
unmon_hosts 6 1 26
notify_one_host 30 4 182
die 5 1 22
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.statd/procs.c
Function nameLOCCyclomatic complexityToken count
sm_stat_1_svc 17 3 85
sm_mon_1_svc 42 5 306
do_unmon 27 7 154
sm_unmon_1_svc 27 4 172
sm_unmon_all_1_svc 15 2 72
sm_simu_crash_1_svc 11 2 47
sm_notify_1_svc 51 9 300
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/advcap.c
Function nameLOCCyclomatic complexityToken count
tgetent 6 2 38
getent 47 13 236
tnchktc 41 11 263
tnamatch 18 14 128
tskip 33 10 126
tgetnum 26 8 145
tgetflag 16 7 93
tgetstr 18 6 102
tdecode 49 13 234
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/rtadvd.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 8 2 36
log_verbose 4 1 11
logit 7 1 38
vlog 15 3 90
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/if.c
Function nameLOCCyclomatic complexityToken count
get_rtaddrs 12 3 68
if_nametosdl 21 6 132
if_getmtu 15 3 105
if_getflags 10 2 66
lladdropt_length 10 3 40
lladdropt_fill 15 3 91
validate_msg 46 20 322
get_addr 8 1 71
get_rtm_ifindex 5 1 25
get_ifm_ifindex 5 1 30
get_ifam_ifindex 5 1 30
get_ifm_flags 5 1 27
get_prefixlen 12 1 107
prefixlen 37 11 127
rtmsg_type 5 1 27
rtmsg_len 5 1 27
get_iflist 24 7 161
parse_iflist 44 9 277
init_iflist 12 2 54
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/config.c
Function nameLOCCyclomatic complexityToken count
getconfig 304 81 2269
get_prefix 56 16 419
makeentry 7 2 47
make_prefix 28 2 192
delete_prefix 11 1 74
make_packet 162 22 1150
getinet6sysctl 14 2 95
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/dump.c
Function nameLOCCyclomatic complexityToken count
ether_str 12 2 99
lifetime 12 4 64
rtadvd_dump 128 25 874
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/advcap.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/if.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/rtadvd.c
Function nameLOCCyclomatic complexityToken count
main 89 24 578
usage 6 1 22
dump_cb 4 1 18
die_cb 17 2 97
rtsock_cb 117 25 629
sock_cb 107 21 639
rs_input 69 11 440
ra_input 108 26 656
prefix_check 90 11 529
find_prefix 21 5 136
nd6_options 86 30 459
free_ndopts 9 2 52
sock_open 56 9 400
rtsock_open 19 4 108
if_indextorainfo 9 2 41
ra_output 43 5 318
timer_cb 8 1 65
ra_timer_update 14 3 92
rdaemon 25 7 138
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/config.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/dump.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/ldomd.c
Function nameLOCCyclomatic complexityToken count
log_init 8 2 36
fatal 8 2 42
logit 7 1 38
vlog 15 3 90
main 74 13 502
usage 6 1 25
add_guest 27 5 204
map_domain_services 21 5 148
frag_init 13 3 87
add_frag_mblock 15 2 85
add_frag 7 1 39
delete_frag 11 2 55
alloc_frag 12 2 56
hv_update_md 37 4 274
hv_open 32 6 267
hv_close 5 1 16
hv_read 9 2 56
hv_write 9 2 56
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/ds.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/var-config.c
Function nameLOCCyclomatic complexityToken count
set_variable 18 3 120
delete_variable 15 3 88
var_config_start 3 1 12
var_config_rx_data 29 3 197
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/ldomd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/ds.c
Function nameLOCCyclomatic complexityToken count
ldc_rx_ctrl 21 5 94
ldc_rx_ctrl_vers 37 8 172
ldc_rx_ctrl_rts 31 6 138
ldc_rx_ctrl_rtr 32 7 145
ldc_rx_ctrl_rdx 27 6 123
ldc_rx_data 44 14 320
ldc_send_vers 15 2 96
ldc_send_ack 15 2 96
ldc_send_rts 15 2 99
ldc_send_rtr 15 2 99
ldc_send_rdx 15 2 99
ldc_reset 6 2 28
ldc_ack 13 2 90
ds_rx_msg 60 9 344
ds_init_ack 10 1 67
ds_reg_ack 11 1 78
ds_reg_nack 12 1 84
ds_unreg_ack 10 1 72
ds_unreg_nack 10 1 72
ds_receive_msg 27 8 188
ldc_send_msg 23 5 172
ds_send_msg 22 6 151
ds_conn_open 18 2 146
ds_conn_register_service 7 1 48
ds_conn_handle 23 4 125
ds_conn_serve 20 5 132
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/hvctl.h
Source file: /home/sergeyb/sources/src/usr.sbin/mksuncd/mksuncd.c
Function nameLOCCyclomatic complexityToken count
expand_file 15 5 101
usage 4 1 13
adjust_base 16 5 130
get_label 15 7 114
main 43 16 321
adjust_label 27 8 222
append_osfile 17 6 102
cylindersize 13 3 100
Source file: /home/sergeyb/sources/src/usr.sbin/apm/apm.c
Function nameLOCCyclomatic complexityToken count
usage 6 1 20
zzusage 6 1 20
send_command 14 3 101
do_zzz 25 5 104
open_socket 17 3 113
main 252 90 1233
Source file: /home/sergeyb/sources/src/usr.sbin/dev_mkdb/dev_mkdb.c
Function nameLOCCyclomatic complexityToken count
main 65 13 468
usage 5 1 21
Source file: /home/sergeyb/sources/src/usr.sbin/ocspcheck/http.h
Source file: /home/sergeyb/sources/src/usr.sbin/ocspcheck/http.c
Function nameLOCCyclomatic complexityToken count
dosysread 8 2 53
dosyswrite 8 2 54
dotlsread 11 4 74
dotlswrite 11 4 75
http_init 23 5 100
http_read 15 5 86
http_write 12 3 72
http_disconnect 19 7 123
http_free 10 2 50
http_alloc 88 16 673
http_open 35 7 183
http_close 10 2 50
http_body_read 34 8 219
http_head_get 10 3 61
http_head_status 19 4 122
http_head_parse 57 13 358
http_head_read 53 12 367
http_get_free 8 2 36
http_get 52 8 357
main 29 6 223
Source file: /home/sergeyb/sources/src/usr.sbin/ocspcheck/ocspcheck.c
Function nameLOCCyclomatic complexityToken count
host_dns 43 11 278
url2host 31 7 202
parse_ocsp_time 13 4 75
read_cacerts 32 6 162
read_fullchain 42 8 247
cert_from_chain 4 1 19
issuer_from_chain 10 2 57
ocsp_request_new_from_cert 63 16 406
validate_response 98 21 623
usage 7 1 19
main 134 39 924
Source file: /home/sergeyb/sources/src/usr.sbin/spamdb/spamdb.c
Function nameLOCCyclomatic complexityToken count
dbupdate 131 28 881
print_entry 60 9 398
dblist 17 3 124
dbshow 33 6 171
usage 5 1 20
main 77 26 440
Source file: /home/sergeyb/sources/src/usr.sbin/memconfig/memconfig.c
Function nameLOCCyclomatic complexityToken count
main 17 5 137
mrgetall 18 4 137
listfunc 42 16 349
setfunc 53 18 373
clearfunc 56 23 402
helpfunc 4 1 24
help 16 5 126
Source file: /home/sergeyb/sources/src/usr.sbin/tokeninit/tokeninit.c
Function nameLOCCyclomatic complexityToken count
main 107 23 591
parse_secret 19 5 203
prompt_for_secret 13 2 52
Source file: /home/sergeyb/sources/src/usr.sbin/watchdogd/watchdogd.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
sighdlr 4 1 11
main 95 24 641
Source file: /home/sergeyb/sources/src/usr.sbin/snmpctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/snmpctl/snmpctl.c
Function nameLOCCyclomatic complexityToken count
usage 6 1 25
main 121 44 691
mib_init 4 1 11
show_mib 9 2 63
monitor_lookup 8 3 54
monitor 16 3 126
snmpctl_trap 91 34 723
Source file: /home/sergeyb/sources/src/usr.sbin/snmpctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 26 6 165
match_token 173 77 1243
show_valid_args 46 17 205
Source file: /home/sergeyb/sources/src/usr.sbin/snmpctl/snmpclient.c
Function nameLOCCyclomatic complexityToken count
snmpclient 66 21 537
snmpc_run 18 6 158
snmpc_request 30 9 209
snmpc_response 43 12 304
snmpc_display_hint 13 5 83
snmpc_physaddress 13 4 107
snmpc_dateandtime 30 6 213
snmpc_display_hint_lookup 18 6 132
snmpc_sendreq 37 7 256
snmpc_recvresp 32 9 224
Source file: /home/sergeyb/sources/src/usr.sbin/vmctl/vmctl.c
Function nameLOCCyclomatic complexityToken count
vm_start 71 28 516
vm_start_complete 40 7 180
send_vm 36 8 239
vm_receive 32 7 218
pause_vm 10 2 82
pause_vm_complete 21 3 105
unpause_vm 10 2 82
unpause_vm_complete 21 3 105
terminate_vm 10 2 82
terminate_vm_complete 32 5 144
get_info_vm 8 2 62
check_info_id 10 8 72
add_info 28 5 166
print_vm_info 72 16 535
vm_console 14 4 93
create_imagefile 16 3 100
Source file: /home/sergeyb/sources/src/usr.sbin/vmctl/main.c
Function nameLOCCyclomatic complexityToken count
usage 12 2 71
ctl_usage 7 1 36
main 16 3 80
parse 36 9 243
vmmaction 129 40 821
parse_free 10 2 71
parse_ifs 13 3 77
parse_network 18 3 112
parse_size 17 5 114
parse_disk 18 3 112
parse_vmid 28 6 155
ctl_create 34 8 216
ctl_status 9 4 77
ctl_load 8 3 64
ctl_log 12 4 104
ctl_reload 6 2 39
ctl_reset 17 7 132
ctl_start 61 25 418
ctl_stop 9 4 77
ctl_console 9 4 77
ctl_pause 9 4 77
ctl_unpause 9 4 77
ctl_send 11 5 96
ctl_receive 11 5 96
ctl_openconsole 6 1 44
Source file: /home/sergeyb/sources/src/usr.sbin/vmctl/vmctl.h
Source file: /home/sergeyb/sources/src/usr.sbin/usbdevs/usbdevs.c
Function nameLOCCyclomatic complexityToken count
usage 5 1 20
usbdev 80 26 441
usbdump 8 3 42
dumpone 11 3 58
main 56 15 296
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 8 2 36
log_verbose 4 1 11
logit 7 1 38
vlog 15 3 90
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
fatal 17 4 79
fatalx 5 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/rip.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 36 6 245
control_listen 12 2 78
control_cleanup 6 1 29
control_accept 34 9 268
control_connbyfd 9 2 42
control_connbypid 9 2 42
control_close 17 3 116
control_dispatch_imsg 83 24 541
control_imsg_relay 8 2 76
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/logmsg.c
Function nameLOCCyclomatic complexityToken count
nbr_state_name 13 4 44
if_type_name 14 5 51
if_auth_name 12 4 43
if_state_name 11 3 36
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/rde.c
Function nameLOCCyclomatic complexityToken count
rde_sig_handler 10 3 37
rde 64 12 489
rde_shutdown 13 1 73
rde_imsg_compose_ripe 6 1 41
rde_dispatch_imsg 82 23 518
rde_dispatch_parent 60 18 360
rde_send_change_kroute 13 1 106
rde_send_delete_kroute 13 1 106
rde_check_route 54 16 398
triggered_update 11 1 83
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/ripd.c
Function nameLOCCyclomatic complexityToken count
usage 8 1 25
main_sig_handler 12 4 42
main 126 26 818
ripd_shutdown 32 10 208
main_dispatch_ripe 70 24 399
main_dispatch_rde 49 17 262
main_imsg_compose_ripe 4 1 35
main_imsg_compose_rde 4 1 35
rip_redistribute 54 29 337
imsg_event_add 13 3 93
imsg_compose_event 9 2 70
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/interface.c
Function nameLOCCyclomatic complexityToken count
if_init 18 4 129
if_fsm 46 14 292
if_find_index 9 2 43
if_act_start 33 7 166
if_act_reset 26 6 130
if_event_name 4 1 15
if_action_name 4 1 15
if_set_mcast_ttl 10 2 56
if_set_opt 10 2 51
if_set_tos 9 2 55
if_set_mcast 17 4 86
if_set_mcast_loop 10 2 55
if_set_recvbuf 8 2 40
if_join_group 17 4 101
if_leave_group 17 4 101
if_new 51 12 416
if_del 10 3 64
if_to_ctl 24 2 199
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/ripe.c
Function nameLOCCyclomatic complexityToken count
ripe_sig_handler 10 3 37
ripe 103 21 806
ripe_imsg_compose_parent 4 1 38
ripe_imsg_compose_rde 6 1 41
ripe_dispatch_main 70 22 385
ripe_dispatch_rde 128 34 784
ripe_shutdown 27 3 169
ripe_iface_ctl 12 3 82
ripe_nbr_ctl 14 1 101
ripe_demote_iface 15 4 95
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/auth.c
Function nameLOCCyclomatic complexityToken count
auth_calc_modulator 12 1 103
auth_get_seq_num 4 1 21
auth_trailer_header_gen 7 1 48
auth_validate 92 15 574
auth_gen 32 4 203
auth_add_trailer 24 2 184
md_list_add 18 4 153
md_list_copy 13 2 104
md_list_clr 8 2 43
md_list_find 8 2 43
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/name2id.c
Function nameLOCCyclomatic complexityToken count
rtlabel_name2id 4 1 20
rtlabel_id2name 4 1 18
rtlabel_unref 4 1 15
_name2id 35 10 238
_id2name 10 3 56
_unref 17 5 100
_ref 11 3 50
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/rde.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/carp.c
Function nameLOCCyclomatic complexityToken count
carp_group_find 8 2 44
carp_demote_init 25 7 162
carp_demote_shutdown 11 4 73
carp_demote_get 21 4 140
carp_demote_set 18 7 118
carp_demote_ioctl 21 5 154
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/rde_rib.c
Function nameLOCCyclomatic complexityToken count
route_start_timeout 7 1 39
route_start_garbage 11 3 68
route_action_timeout 11 2 69
route_action_garbage 6 1 31
route_reset_timers 9 1 52
rt_init 4 1 12
rt_compare 12 5 121
rt_find 7 1 44
rt_new_kr 15 2 125
rt_new_rr 15 2 126
rt_insert 10 2 62
rt_remove 10 2 62
rt_snap 15 1 95
rt_dump 14 1 97
rt_complete 8 2 52
rt_clear 6 2 32
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/packet.c
Function nameLOCCyclomatic complexityToken count
gen_rip_hdr 8 1 55
send_packet 16 4 116
recv_packet 106 24 660
rip_hdr_sanity_check 9 2 39
find_iface 16 7 120
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/message.c
Function nameLOCCyclomatic complexityToken count
report_timer 8 1 59
start_report_timer 7 1 41
add_entry 11 3 74
delete_entry 5 2 23
clear_list 9 2 50
send_triggered_update 32 3 270
send_request 59 10 438
send_response 73 14 524
recv_request 40 8 252
recv_response 39 8 253
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/neighbor.c
Function nameLOCCyclomatic complexityToken count
nbr_fsm 47 11 261
nbr_init 12 4 88
nbr_new 22 3 162
nbr_del 9 1 49
nbr_act_del 11 3 67
nbr_find_peerid 11 2 52
nbr_find_ip 10 2 54
nbr_failed_new 18 3 126
nbr_failed_find 10 2 54
nbr_failed_delete 8 3 51
nbr_timeout_timer 8 2 42
nbr_failed_timeout 7 1 38
nbr_set_timer 8 2 46
nbr_stop_timer 5 2 27
nbr_event_name 4 1 15
nbr_action_name 4 1 15
nbr_to_ctl 24 4 204
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/ripe.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/printconf.c
Function nameLOCCyclomatic complexityToken count
print_mainconf 18 5 85
print_no 7 2 24
print_redistribute 26 6 138
print_iface 25 5 126
print_config 9 1 42
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/ripd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/kroute.c
Function nameLOCCyclomatic complexityToken count
kif_init 7 2 32
kr_init 37 9 261
kr_change_fib 24 6 211
kr_change 10 2 60
kr_delete 17 5 128
kr_shutdown 6 1 18
kr_fib_couple 11 3 65
kr_fib_decouple 11 3 65
kr_dispatch_msg 4 1 18
kr_show_route 37 8 233
kr_ifinfo 10 3 75
kr_redistribute 26 10 162
kroute_compare 18 9 199
kif_compare 4 1 29
kroute_find 19 5 128
kroute_insert 20 4 132
kroute_remove 13 2 85
kroute_clear 6 2 32
kif_find 7 1 44
kif_findname 8 2 49
kif_insert 9 2 46
kif_remove 9 2 46
kif_clear 6 2 32
kif_validate 9 2 48
kroute_match 12 4 85
protect_lo 14 3 103
prefixlen_classful 13 5 60
mask2prefixlen 7 2 32
prefixlen2mask 6 2 33
get_rtaddrs 12 3 87
if_change 29 7 207
if_announce 21 4 119
send_rtmsg 68 8 511
fetchtable 114 26 774
fetchifs 65 13 518
dispatch_rtmsg 168 44 1042
Source file: /home/sergeyb/sources/src/usr.sbin/mrinfo/mrinfo.c
Function nameLOCCyclomatic complexityToken count
inet_name 13 4 75
logit 29 11 147
ask 5 1 25
ask2 5 1 25
accept_neighbors 24 3 151
accept_neighbors2 53 19 364
usage 6 1 17
main 212 50 1301
accept_probe 4 1 20
accept_group_report 3 1 16
accept_neighbor_request2 3 1 10
accept_report 4 1 20
accept_neighbor_request 3 1 10
accept_prune 3 1 17
accept_graft 3 1 17
accept_g_ack 3 1 17
add_table_entry 3 1 10
check_vif_state 3 1 6
accept_leave_message 3 1 13
accept_mtrace 4 1 23
accept_membership_query 3 1 16
accept_info_request 3 1 17
accept_info_reply 3 1 17
Source file: /home/sergeyb/sources/src/usr.sbin/ospfctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfctl/ospfctl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 219 76 1352
show_summary_msg 41 5 208
get_ifms_type 15 5 52
show_interface_msg 27 5 165
show_interface_detail_msg 75 9 413
print_link 7 2 24
fmt_timeframe 7 2 32
fmt_timeframe_core 29 5 179
log_id 10 2 54
log_adv_rtr 10 2 54
mask2prefixlen 7 2 32
show_database_head 53 18 276
show_database_msg 41 7 218
print_ls_type 23 9 84
show_db_hdr_msg_detail 37 9 229
print_rtr_link_type 15 5 52
print_ospf_flags 9 4 55
show_db_msg_detail 135 22 924
show_nbr_msg 24 5 156
print_ospf_options 14 9 95
show_nbr_detail_msg 33 3 205
show_rib_msg 36 9 206
show_rib_head 38 11 192
print_ospf_rtr_flags 9 5 59
show_rib_detail_msg 74 17 429
show_fib_head 5 1 24
show_fib_msg 42 11 253
show_interface_head 5 1 17
get_media_descr 8 3 48
get_linkstate 11 3 77
print_baudrate 11 4 80
show_fib_interface_msg 27 7 156
Source file: /home/sergeyb/sources/src/usr.sbin/ospfctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 24 6 150
match_token 74 29 448
show_valid_args 26 9 119
parse_addr 13 3 83
parse_prefix 19 4 143
prefixlen2mask 6 2 30
Source file: /home/sergeyb/sources/src/usr.sbin/switchctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchctl/parser.c
Function nameLOCCyclomatic complexityToken count
parse 24 6 152
parse_addr 46 7 334
match_token 177 67 996
show_valid_args 41 21 208
Source file: /home/sergeyb/sources/src/usr.sbin/switchctl/ofpclient.c
Function nameLOCCyclomatic complexityToken count
ofpclient 64 16 442
flowmod 22 4 158
ofpclient_read 31 10 244
ofrelay_write 8 1 46
switch_add 6 1 27
switch_learn 5 1 26
switch_cached 4 1 18
ofp_nextstate 28 9 127
Source file: /home/sergeyb/sources/src/usr.sbin/switchctl/switchctl.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 177 56 1037
show_summary_msg 36 8 208
monitor_lookup 8 3 54
monitor 16 3 126
Source file: /home/sergeyb/sources/src/usr.sbin/authpf/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/authpf/authpf.c
Function nameLOCCyclomatic complexityToken count
main 206 51 1372
read_config 54 24 415
print_message 16 5 96
allowed_luser 73 15 431
check_luser 36 8 220
remove_stale_rulesets 36 15 245
recursive_ruleset_purge 47 13 336
change_filter 93 21 615
change_table 32 9 234
authpf_kill_states 28 5 288
need_death 4 1 11
do_death 15 6 80
Source file: /home/sergeyb/sources/src/usr.sbin/iostat/iostat.c
Function nameLOCCyclomatic complexityToken count
main 70 22 346
sigheader 4 1 11
header 49 23 326
disk_stats 30 7 271
disk_stats2 15 3 134
cpustats 11 4 77
usage 6 1 18
display 29 9 182
selectdrives 44 18 269
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/hostapd.c
Function nameLOCCyclomatic complexityToken count
hostapd_usage 6 1 20
hostapd_log 20 4 116
hostapd_printf 24 6 167
hostapd_fatal 13 2 69
hostapd_check_file_secrecy 20 5 110
hostapd_bpf_open 16 5 94
hostapd_udp_init 64 11 580
hostapd_sig_handler 10 5 40
hostapd_cleanup 42 11 304
main 102 22 664
hostapd_randval 11 3 68
hostapd_table_add 18 4 134
hostapd_table_lookup 9 2 55
hostapd_entry_add 12 3 91
hostapd_entry_lookup 12 3 89
hostapd_entry_update 10 2 74
hostapd_entry_cmp 4 1 30
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/handle.c
Function nameLOCCyclomatic complexityToken count
hostapd_handle_input 11 2 80
hostapd_handle_addr 13 8 117
hostapd_handle_ref 14 5 116
hostapd_handle_frame 136 47 951
hostapd_handle_action 84 21 525
hostapd_handle_radiotap 49 7 347
hostapd_cmp 11 13 86
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/iapp.h
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/apme.c
Function nameLOCCyclomatic complexityToken count
hostapd_apme_add 20 4 141
hostapd_apme_deauth 27 2 219
hostapd_apme_lookup 9 2 55
hostapd_apme_addhopper 17 4 141
hostapd_apme_sethopper 12 4 106
hostapd_apme_hopper 24 5 161
hostapd_apme_term 19 4 128
hostapd_apme_input 23 4 164
hostapd_apme_output 43 8 355
hostapd_apme_offset 20 6 135
hostapd_apme_frame 48 15 359
hostapd_apme_init 28 6 261
hostapd_apme_addnode 4 1 26
hostapd_apme_delnode 4 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/privsep.c
Function nameLOCCyclomatic complexityToken count
hostapd_priv_init 68 17 551
hostapd_priv_getapme 14 3 89
hostapd_priv 91 21 669
hostapd_priv_apme_getnode 18 4 149
hostapd_priv_apme_setnode 25 6 181
hostapd_priv_apme_bssid 18 4 142
hostapd_priv_llc_xid 13 3 93
hostapd_priv_roaming 19 4 137
hostapd_sig_relay 9 3 51
hostapd_sig_chld 5 2 28
hostapd_may_read 18 6 94
hostapd_must_read 18 6 91
hostapd_must_write 18 6 91
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/hostapd.h
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/iapp.c
Function nameLOCCyclomatic complexityToken count
hostapd_iapp_init 15 2 86
hostapd_iapp_term 12 2 66
hostapd_iapp_add_notify 35 4 278
hostapd_iapp_radiotap 44 6 298
hostapd_iapp_input 91 28 557
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/roaming.c
Function nameLOCCyclomatic complexityToken count
hostapd_roaming_init 31 6 248
hostapd_roaming_term 22 7 158
hostapd_roaming 28 11 204
hostapd_roaming_addr 50 8 373
hostapd_roaming_rt 68 11 490
hostapd_roaming_add 4 1 26
hostapd_roaming_del 4 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/print-802_11.c
Function nameLOCCyclomatic complexityToken count
ieee80211_hdr 48 6 349
ieee80211_print_element 8 2 51
ieee80211_print_essid 18 7 118
ieee80211_elements 136 39 688
ieee80211_frame 68 17 293
ieee80211_any2ieee 15 5 82
ieee80211_print 7 3 33
ieee802_11_if_print 8 2 48
ieee802_11_radio_if_print 155 41 982
hostapd_print_ieee80211 11 3 51
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/llc.c
Function nameLOCCyclomatic complexityToken count
hostapd_llc_init 20 4 166
hostapd_llc_send_xid 20 2 183
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.bootparamd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.bootparamd/bootparamd.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 58 15 339
bootparamproc_whoami_1_svc 58 12 460
bootparamproc_getfile_1_svc 54 12 390
lookup_bootparam 57 19 374
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/dispatch.c
Function nameLOCCyclomatic complexityToken count
iflist_getbyname 10 2 46
setup_iflist 79 19 649
register_interface 18 5 137
dispatch 67 21 417
got_one 30 7 188
interface_status 45 9 263
add_protocol 13 2 82
remove_protocol 15 4 76
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/packet.c
Function nameLOCCyclomatic complexityToken count
checksum 15 5 102
wrapsum 5 1 21
assemble_hw_header 19 3 119
assemble_udp_ip_header 33 2 362
decode_hw_header 36 7 225
decode_udp_ip_header 91 23 696
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/bpf.c
Function nameLOCCyclomatic complexityToken count
if_register_bpf 9 3 64
if_register_send 4 1 17
if_register_receive 48 14 350
send_packet 30 5 239
receive_packet 59 10 360
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/dhcpd.h
Function nameLOCCyclomatic complexityToken count
ss2sin 4 1 19
ss2sin6 4 1 19
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/dhcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/dhcrelay.c
Function nameLOCCyclomatic complexityToken count
main 179 56 1193
relay 75 15 520
usage 8 1 26
rdaemon 25 7 138
print_hw_addr 22 6 145
got_response 36 8 286
relay_agentinfo 32 6 192
relay_agentinfo_cmp 29 9 192
relay_agentinfo_append 90 22 532
relay_agentinfo_remove 64 13 385
get_rdomain 13 3 101
l2relay 44 10 287
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/gpioctl/gpioctl.c
Function nameLOCCyclomatic complexityToken count
main 105 34 754
getinfo 10 3 62
pinread 17 5 112
pinwrite 27 12 209
pinset 35 13 270
unset 11 3 79
devattach 11 2 90
devdetach 8 2 63
usage 13 1 63
Source file: /home/sergeyb/sources/src/usr.sbin/portmap/portmap.c
Function nameLOCCyclomatic complexityToken count
main 142 29 1057
find_service 14 5 88
reg_service 146 45 813
xdr_encap_parms 4 1 37
portmap_xdr_rmtcall_args 9 4 73
portmap_xdr_rmtcallres 6 2 47
xdr_opaque_parms 4 1 33
xdr_len_opaque_parms 18 3 116
callit 51 11 390
reap 7 2 30
check_callit 14 11 97
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/pppstats/pppstats.c
Function nameLOCCyclomatic complexityToken count
usage 8 1 24
catchalarm 5 1 13
get_ppp_stats 14 3 91
get_ppp_cstats 17 4 104
intpr 133 29 915
main 63 24 349
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/chat/chat.c
Function nameLOCCyclomatic complexityToken count
dup_mem 10 2 48
copy_of 5 1 23
main 84 24 352
do_file 51 18 271
usage 8 1 19
logmsg 11 3 66
fatal 12 3 74
sigalrm 14 4 83
unalarm 8 3 54
sigint 5 1 16
sigterm 5 1 16
sighup 5 1 16
init 10 1 46
set_tty_parameters 17 4 106
break_sequence 4 2 12
terminate 31 11 175
clean 181 71 817
expect_strtok 32 7 133
chat_expect 55 15 259
character 15 4 100
chat_send 117 35 678
get_char 18 5 107
put_char 20 5 113
write_char 16 6 68
put_string 40 10 162
echo_stderr 22 5 85
get_string 125 38 783
pack_array 16 6 100
vfmtmsg 192 57 1024
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/options.c
Function nameLOCCyclomatic complexityToken count
parse_args 39 9 209
scan_args 20 5 102
usage 6 2 26
showhelp 9 2 30
showversion 10 2 39
options_from_file 62 15 360
options_from_user 15 5 105
options_for_tty 15 4 93
option_error 11 2 71
readable 22 7 136
getword 147 43 663
number_option 14 2 61
int_option 10 2 46
readfile 5 1 23
callfile 34 13 226
setdebug 6 1 18
setkdebug 5 1 20
setpdebug 5 1 20
setpassfilter 10 2 59
setactivefilter 10 2 59
noopt 9 1 91
noaccomp 7 1 33
noasyncmap 7 1 33
noip 6 1 21
nomagicnumber 7 1 33
nomru 7 1 33
setmru 10 2 53
setmtu 14 5 76
setcbcp 12 2 87
nopcomp 7 1 33
setpassive 6 1 24
setsilent 6 1 22
nopap 6 1 19
reqpap 7 1 27
nochap 6 1 19
reqchap 7 1 29
setnovj 7 1 33
setnovjccomp 7 1 31
setvjslots 14 4 69
setconnector 10 2 46
setdisconnector 10 2 46
setwelcomer 10 2 46
setmaxconnect 17 6 77
setdomain 16 4 81
setasyncmap 10 2 53
setescape 25 10 148
setspeed 11 4 54
setdevname 25 6 141
setipaddr 52 14 315
setnoipdflt 6 1 17
setipcpaccl 6 1 22
setipcpaccr 6 1 22
setnetmask 11 3 63
setcrtscts 6 1 19
setnocrtscts 6 1 20
setxonxoff 8 1 38
setnodetach 6 1 19
setupdetach 6 1 20
setdemand 7 1 21
setmodem 6 1 17
setmodem_chat 6 1 17
setlocal 6 1 17
setlock 6 1 17
setusehostname 6 1 17
setname 10 2 40
setuser 6 1 25
setremote 6 1 25
setauth 10 2 39
setnoauth 14 4 55
setdefaultroute 10 2 42
setnodefaultroute 7 1 31
setproxyarp 10 2 42
setnoproxyarp 7 1 31
setpersist 6 1 17
setnopersist 6 1 17
setdologin 6 1 17
setlcpechointv 5 1 20
setlcpechofails 5 1 20
setlcptimeout 5 1 25
setlcpterm 5 1 25
setlcpconf 5 1 25
setlcpfails 5 1 25
setipcptimeout 5 1 25
setipcpterm 5 1 25
setipcpconf 5 1 25
setipcpfails 5 1 25
setpaptimeout 5 1 25
setpapreqtime 5 1 25
setpapreqs 5 1 25
setchaptimeout 5 1 25
setchapchal 5 1 25
setchapintv 5 1 25
noccp 6 1 19
setbsdcomp 33 13 219
setnobsdcomp 7 1 31
setdeflate 34 13 219
setnodeflate 7 1 31
setnodeflatedraft 7 1 31
setpred1comp 7 1 31
setnopred1comp 7 1 31
setipparam 8 2 32
setpapcrypt 6 1 17
setidle 5 1 20
setholdoff 5 1 20
setdnsaddr 18 4 123
setwinsaddr 18 4 123
setmslanman 6 1 19
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/demand.c
Function nameLOCCyclomatic complexityToken count
demand_conf 22 7 154
demand_drop 19 5 117
demand_unblock 8 4 58
loop_chars 39 12 173
loop_frame 24 6 132
demand_rexmit 24 5 122
active_packet 23 10 147
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/cbcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/pppd.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/cbcp.c
Function nameLOCCyclomatic complexityToken count
cbcp_init 9 1 50
cbcp_lowerup 9 2 56
cbcp_open 5 1 16
cbcp_input 40 8 186
cbcp_protrej 3 1 7
switch 34 11 195
for 4 1 28
cbcp_recvreq 42 10 218
cbcp_resp 43 6 292
cbcp_send 18 2 99
cbcp_recvack 25 6 136
cbcp_up 6 1 21
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/fsm.c
Function nameLOCCyclomatic complexityToken count
fsm_init 12 1 58
fsm_lowerup 20 4 84
fsm_lowerdown 33 11 156
fsm_open 28 9 121
fsm_close 33 11 188
fsm_timeout 40 14 262
fsm_input 60 15 317
fsm_rconfreq 49 14 293
fsm_rconfack 47 13 283
fsm_rconfnakrej 46 15 291
fsm_rtermreq 29 6 182
fsm_rtermack 27 8 151
fsm_rcoderej 18 3 103
fsm_protreject 36 12 212
fsm_sconfreq 31 10 241
fsm_sdata 22 4 157
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/ipcp.c
Function nameLOCCyclomatic complexityToken count
ip_ntoa 12 1 73
ipcp_init 24 1 163
ipcp_open 5 1 18
ipcp_close 6 1 26
ipcp_lowerup 5 1 18
ipcp_lowerdown 5 1 18
ipcp_input 7 1 33
ipcp_protrej 5 1 18
ipcp_resetci 12 4 86
ipcp_cilen 24 10 173
ipcp_addci 13 2 99
ipcp_ackci 20 3 132
ipcp_nakci 101 37 576
ipcp_rejci 24 4 143
ipcp_reqci 231 64 1327
ip_check_options 22 11 128
ip_demand_conf 20 8 154
ipcp_up 83 24 684
ipcp_down 14 2 82
ipcp_clear_addrs 16 3 89
ipcp_finished 5 1 19
ipcp_script 21 1 156
switch 79 26 391
for 4 1 28
ip_active_pkt 22 7 123
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/sys-bsd.c
Function nameLOCCyclomatic complexityToken count
sys_init 7 2 36
sys_cleanup 18 7 123
sys_close 8 2 28
sys_check_options 3 1 5
ppp_available 15 2 84
establish_ppp 52 14 322
restore_loop 23 5 123
disestablish_ppp 12 6 80
clean_check 26 7 111
set_up_tty 48 12 292
restore_tty 14 5 73
setdtr 6 2 34
open_ppp_loopback 41 11 302
output 12 4 63
wait_input 19 4 130
wait_loop_output 19 4 130
wait_time 10 3 53
read_packet 12 4 63
get_loop_output 17 5 92
ppp_send_config 28 7 202
ppp_set_xaccm 7 3 38
ppp_recv_config 24 6 164
ccp_test 12 3 77
ccp_flags_set 13 5 98
ccp_fatal_error 10 2 46
get_idle_time 6 1 28
set_filters 18 5 96
sifvjcomp 20 7 141
sifup 17 3 100
sifnpmode 14 2 69
sifdown 24 3 142
sifaddr 38 6 317
cifaddr 19 3 152
sifdefaultroute 6 1 26
cifdefaultroute 6 1 26
dodefaultroute 40 7 287
sifproxyarp 36 4 256
cifproxyarp 23 4 122
sifproxyarp 27 3 183
cifproxyarp 15 2 92
get_ether_addr 41 10 272
GetMask 31 8 199
lock 46 9 304
unlock 8 2 25
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/chap.c
Function nameLOCCyclomatic complexityToken count
ChapInit 11 1 60
ChapAuthWithPeer 15 3 72
ChapAuthPeer 17 3 82
ChapChallengeTimeout 15 4 77
ChapResponseTimeout 8 2 35
ChapRechallenge 10 2 46
ChapLowerUp 16 5 89
ChapLowerDown 15 6 89
ChapProtocolReject 12 5 66
ChapInput 44 8 211
ChapReceiveChallenge 70 12 428
ChapReceiveResponse 90 16 526
ChapReceiveSuccess 20 4 107
ChapReceiveFailure 18 3 98
ChapSendChallenge 23 1 162
ChapSendStatus 23 2 143
ChapGenChallenge 11 1 56
ChapSendResponse 22 1 154
switch 29 9 170
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/upap.c
Function nameLOCCyclomatic complexityToken count
upap_init 16 1 85
upap_authwithpeer 17 3 95
upap_authpeer 13 4 68
upap_timeout 14 3 71
upap_reqtimeout 9 2 45
upap_lowerup 17 6 99
upap_lowerdown 11 4 67
upap_protrej 14 3 72
upap_input 40 7 186
upap_rauthreq 54 9 333
upap_rauthack 26 4 139
upap_rauthnak 27 4 146
upap_sauthreq 23 1 172
upap_sresp 19 1 122
switch 33 9 210
for 4 1 28
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/magic.c
Function nameLOCCyclomatic complexityToken count
magic_init 3 1 5
magic 4 1 10
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/upap.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/auth.c
Function nameLOCCyclomatic complexityToken count
link_required 4 1 9
link_terminated 10 3 36
link_down 22 9 131
link_established 45 17 287
network_phase 28 14 169
auth_peer_fail 5 1 20
auth_peer_success 26 5 125
auth_withpeer_fail 6 2 24
auth_withpeer_success 21 5 84
np_up 14 5 69
np_down 7 3 33
np_finished 7 2 29
check_idle 15 3 79
connect_time_expired 6 1 24
auth_check_options 42 25 283
auth_reset 18 10 140
check_passwd 72 17 470
plogin 31 6 215
plogout 9 2 43
null_login 24 5 145
get_pap_passwd 23 5 127
have_pap_secret 18 4 99
have_chap_secret 22 5 117
get_secret 39 5 218
set_allowed_addrs 21 11 164
auth_ip_addr 6 1 25
ip_addr_check 65 19 368
bad_ip_adrs 7 3 36
check_access 11 3 74
scan_authfile 104 36 612
free_wordlist 10 2 39
auth_script 24 3 156
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/patchlevel.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/chap.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/lcp.c
Function nameLOCCyclomatic complexityToken count
lcp_init 41 2 259
lcp_open 12 3 64
lcp_close 13 4 78
lcp_lowerup 12 1 90
lcp_lowerdown 5 1 18
lcp_input 8 1 39
lcp_extcode 29 6 140
lcp_rprotrej 31 6 163
lcp_protrej 7 1 27
lcp_sprotrej 10 1 51
lcp_resetci 9 1 64
lcp_cilen 14 4 105
lcp_addci 21 5 182
lcp_ackci 26 5 200
lcp_nakci 138 61 768
lcp_rejci 31 4 187
lcp_reqci 247 54 1271
lcp_up 22 8 207
lcp_down 12 2 89
lcp_starting 5 1 17
lcp_finished 5 1 17
switch 122 38 548
for 4 1 28
LcpLinkFailure 9 2 45
LcpEchoCheck 8 1 35
LcpEchoTimeout 8 2 31
lcp_received_echo_reply 17 4 92
LcpSendEchoRequest 19 4 100
lcp_echo_lowerup 10 2 42
lcp_echo_lowerdown 9 2 38
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/lcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/ccp.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/main.c
Function nameLOCCyclomatic complexityToken count
main 258 84 1577
detach 11 3 44
holdoff_end 5 1 14
get_input 53 19 309
quit 4 1 10
die 8 1 34
cleanup 8 3 27
close_tty 13 3 60
if 4 1 36
if 5 1 36
calltimeout 18 6 114
timeleft 16 4 99
kill_my_pg 10 1 55
hup 13 3 56
term 14 3 62
chld 7 1 22
toggle_debug 10 2 39
open_ccp 5 1 13
bad_signal 12 3 54
device_script 64 16 365
run_program 50 10 303
reap_kids 19 6 93
log_packet 12 2 71
if 17 4 131
for 4 1 28
pr_log 15 2 102
for 22 8 112
novm 6 1 24
fmtmsg 9 1 51
vfmtmsg 201 59 1071
script_setenv 35 9 229
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/magic.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/ccp.c
Function nameLOCCyclomatic complexityToken count
ccp_init 26 1 224
ccp_open 11 3 63
ccp_close 7 1 35
ccp_lowerup 5 1 18
ccp_lowerdown 5 1 18
ccp_input 15 7 103
ccp_extcode 23 6 116
ccp_protrej 6 1 27
ccp_resetci 47 14 344
ccp_cilen 9 5 63
ccp_addci 77 23 487
ccp_ackci 61 36 358
ccp_nakci 45 23 315
ccp_rejci 61 35 393
ccp_reqci 140 59 830
method_name 35 13 204
ccp_up 24 5 169
ccp_down 8 2 48
switch 61 26 327
ccp_datainput 21 4 132
ccp_rack_timeout 11 3 78
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/ipcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/fsm.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/atrun.c
Function nameLOCCyclomatic complexityToken count
strtot 12 6 91
scan_atjobs 74 19 523
atrun 61 16 411
run_job 249 64 1741
Source file: /home/sergeyb/sources/src/usr.sbin/cron/misc.c
Function nameLOCCyclomatic complexityToken count
get_char 8 2 35
unget_char 6 2 30
get_string 13 5 78
skip_comments 16 10 93
first_word 17 6 127
Source file: /home/sergeyb/sources/src/usr.sbin/cron/user.c
Function nameLOCCyclomatic complexityToken count
free_user 10 2 55
parse_error 5 1 25
load_user 66 12 350
Source file: /home/sergeyb/sources/src/usr.sbin/cron/funcs.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/entry.c
Function nameLOCCyclomatic complexityToken count
free_entry 8 2 40
load_entry 217 55 1507
get_list 18 4 120
get_range 46 15 313
get_number 41 12 248
set_element 7 3 48
Source file: /home/sergeyb/sources/src/usr.sbin/cron/popen.c
Function nameLOCCyclomatic complexityToken count
cron_popen 58 15 418
cron_pclose 20 5 136
Source file: /home/sergeyb/sources/src/usr.sbin/cron/cron.c
Function nameLOCCyclomatic complexityToken count
usage 5 1 20
main 111 21 656
run_reboot_jobs 12 2 64
find_jobs 30 13 255
set_time 12 3 73
cron_sleep 57 14 380
open_socket 46 8 308
sigchld_handler 4 1 11
sigchld_reaper 18 5 64
parse_args 23 8 112
Source file: /home/sergeyb/sources/src/usr.sbin/cron/structs.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/client.c
Function nameLOCCyclomatic complexityToken count
in_file 20 7 129
allowed 16 4 119
poke_daemon 23 6 166
Source file: /home/sergeyb/sources/src/usr.sbin/cron/globals.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/cron.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/macros.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/env.c
Function nameLOCCyclomatic complexityToken count
env_init 7 2 37
env_free 7 2 37
env_copy 21 6 141
env_find 18 7 147
env_get 5 1 28
env_set 20 4 131
load_env 89 31 449
Source file: /home/sergeyb/sources/src/usr.sbin/cron/database.c
Function nameLOCCyclomatic complexityToken count
load_database 59 14 422
find_user 11 3 60
process_crontab 70 22 530
Source file: /home/sergeyb/sources/src/usr.sbin/cron/do_command.c
Function nameLOCCyclomatic complexityToken count
do_command 14 3 54
child_process 220 52 1381
safe_p 15 8 121
Source file: /home/sergeyb/sources/src/usr.sbin/cron/job.c
Function nameLOCCyclomatic complexityToken count
job_add 12 4 81
job_runqueue 12 2 61
Source file: /home/sergeyb/sources/src/usr.sbin/cron/config.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/crontab.c
Function nameLOCCyclomatic complexityToken count
usage 13 2 55
main 41 8 192
parse_args 67 23 400
list_cmd 18 4 119
delete_cmd 15 4 99
check_error 5 1 27
edit_cmd 109 26 635
replace_cmd 114 24 709
editit 46 12 332
die 6 2 27
copy_crontab 19 8 109
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/switchd.c
Function nameLOCCyclomatic complexityToken count
usage 8 1 27
main 122 27 790
switchd_socket 26 7 174
switchd_listen 14 4 86
switchd_tap 12 3 72
switchd_connbyid 9 3 59
switchd_connbyaddr 10 2 64
parent_sig_handler 22 6 92
parent_configure 13 2 94
parent_reload 35 4 240
parent_dispatch_control 40 7 270
parent_shutdown 7 1 32
parent_connect 71 15 456
parent_connected 26 5 167
parent_disconnect 10 2 75
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/types.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 10 2 48
log_procinit 5 2 19
log_setverbose 4 1 11
log_getverbose 4 1 11
logit 7 1 38
vlog 17 3 99
log_warn 21 3 120
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 43
vfatalc 17 3 106
fatal 8 1 40
fatalx 8 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/timer.c
Function nameLOCCyclomatic complexityToken count
timer_set 8 1 62
timer_add 8 3 64
timer_del 6 4 42
timer_callback 6 2 40
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp.c
Function nameLOCCyclomatic complexityToken count
ofp 5 1 39
ofp_run 9 2 68
ofp_dispatch_control 10 2 52
ofp_dispatch_parent 28 7 195
ofp_input 41 13 263
ofp_open 13 4 100
ofp_close 4 1 14
ofp_nextstate 36 11 181
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/control.c
Function nameLOCCyclomatic complexityToken count
control 4 1 32
control_run 5 2 35
control_dispatch_ofp 29 6 218
control_init 50 9 372
control_listen 14 3 96
control_cleanup 8 2 45
control_accept 37 9 291
control_connbyfd 9 2 42
control_close 17 3 123
control_dispatch_imsg 69 18 433
control_imsg_forward 9 2 70
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/imsg_util.c
Function nameLOCCyclomatic complexityToken count
ibuf_cat 4 1 31
ibuf_zero 4 1 20
ibuf_reset 5 1 24
ibuf_new 20 6 107
ibuf_static 8 2 39
ibuf_advance 7 2 45
ibuf_release 10 3 44
ibuf_length 6 3 34
ibuf_data 4 1 21
ibuf_getdata 8 2 51
ibuf_dataleft 4 1 20
ibuf_dataoffset 4 1 16
ibuf_get 7 2 46
ibuf_dup 6 2 36
ibuf_random 13 3 73
ibuf_setsize 7 2 37
ibuf_setmax 7 2 37
ibuf_prepend 14 3 97
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp10.c
Function nameLOCCyclomatic complexityToken count
ofp10_validate 20 5 130
ofp10_validate_packet_in 33 6 226
ofp10_validate_packet_out 46 6 304
ofp10_validate_error 28 5 170
ofp10_input 14 4 121
ofp10_hello 11 3 82
ofp10_features_reply 5 1 36
ofp10_validate_features_reply 35 5 265
ofp10_echo_request 9 2 73
ofp10_packet_match 14 5 113
ofp10_packet_in 85 22 632
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofcconn.c
Function nameLOCCyclomatic complexityToken count
ofcconn 5 1 38
ofcconn_run 5 2 35
ofcconn_shutdown 8 1 37
ofcconn_dispatch_parent 40 8 260
ofsw_create 23 4 161
ofsw_close 13 2 74
ofsw_free 8 2 39
ofsw_on_io 42 10 252
ofsw_write 57 14 368
ofsw_ofc_write_ready 14 3 61
ofsw_reset_event_handlers 15 5 102
ofsw_new_ofcconn 34 6 269
ofcconn_connect 33 5 210
ofcconn_on_sockio 59 12 377
ofcconn_connect_again 10 2 83
ofcconn_on_timer 13 3 74
ofcconn_reset_event_handlers 18 6 112
ofcconn_io_fail 5 1 19
ofcconn_close 11 2 61
ofcconn_free 9 2 50
ofcconn_send_hello 18 2 112
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/switchd.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/packet.c
Function nameLOCCyclomatic complexityToken count
packet_ether_unicast 8 4 48
packet_input 33 10 264
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp10.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofrelay.c
Function nameLOCCyclomatic complexityToken count
ofrelay 9 2 79
ofrelay_run 11 1 99
ofrelay_close 24 3 169
ofrelay_event 27 7 139
ofrelay_input 58 17 405
ofrelay_write 8 1 62
ofrelay_input_open 13 3 72
ofrelay_input_close 10 3 63
ofrelay_input_done 18 5 130
ofrelay_bufget 7 2 43
ofrelay_bufput 4 1 21
ofrelay_output 15 4 105
ofrelay_accept 25 5 174
ofrelay_inflight_dec 11 3 52
ofrelay_attach 52 8 403
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/util.c
Function nameLOCCyclomatic complexityToken count
socket_set_blockmode 12 4 75
accept4_reserve 14 3 100
socket_getport 12 3 69
socket_setport 14 3 82
sockaddr_cmp 58 21 621
prefixlen2mask 8 3 43
prefixlen2mask6 15 4 107
print_ether 15 2 110
print_host 32 7 232
print_map 21 5 164
getmonotime 7 2 36
print_debug 9 2 45
print_verbose 9 2 43
print_hex 16 7 98
parsehostport 37 8 278
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp_map.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/switch.c
Function nameLOCCyclomatic complexityToken count
switch_init 4 1 17
switch_dispatch_control 34 2 248
switch_get 8 1 66
switch_add 23 4 180
switch_timer 22 4 156
switch_remove 17 3 128
switch_learn 24 6 190
switch_cached 6 1 50
switch_cmp 10 2 74
switch_maccmp 4 1 35
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/proc.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp13.c
Function nameLOCCyclomatic complexityToken count
ofp13_validate 20 5 130
ofp13_validate_oxm_basic 189 75 1247
ofp13_validate_oxm 30 7 158
ofp13_validate_packet_in 57 12 437
ofp13_validate_packet_out 42 9 306
ofp13_validate_error 37 8 227
ofp13_input 17 4 141
ofp13_hello 11 3 82
ofp13_echo_request 9 2 73
ofp13_validate_features_reply 13 2 101
ofp13_features_reply 5 1 36
ofp13_validate_action 120 31 881
ofp13_validate_instruction 78 21 529
ofp13_validate_flow_mod 53 10 426
ofp13_packet_match 20 6 174
ofp13_packet_in 129 32 911
ofp13_flow_removed 17 2 140
ofp13_tableproperties 185 55 1075
ofp13_multipart_reply 37 8 261
ofp13_validate_tableproperty 132 34 771
ofp13_multipart_reply_validate 110 30 730
ofp13_multipart_request 15 2 108
ofp13_multipart_request_validate 78 24 482
ofp13_desc 19 4 144
ofp13_flow_stats 33 7 272
ofp13_table_features 21 4 147
ofp13_error 30 6 233
ofp13_group 16 2 117
ofp13_bucket 11 2 79
ofp13_setconfig_validate 12 2 90
ofp13_setconfig 24 4 183
ofp13_flowmod 18 2 159
ofp13_tablemiss_sendctrl 31 8 208
ofp13_switchconfigure 17 4 105
ofp13_getflowtable 15 4 86
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/proc.c
Function nameLOCCyclomatic complexityToken count
proc_ispeer 9 3 55
proc_getid 13 3 75
proc_exec 52 11 398
proc_connect 24 9 191
proc_init 42 11 301
proc_accept 24 4 185
proc_setup 42 13 451
proc_kill 30 11 180
proc_open 34 10 319
proc_close 21 6 171
proc_shutdown 11 4 76
proc_sig_handler 17 7 63
proc_run 64 17 574
proc_dispatch 66 16 439
proc_dispatch_null 4 1 23
imsg_event_add 13 3 95
imsg_compose_event 10 2 75
imsg_composev_event 10 2 77
proc_range 9 2 57
proc_compose_imsg 12 3 106
proc_compose 5 1 48
proc_composev_imsg 11 3 106
proc_composev 5 1 50
proc_forward_imsg 6 1 58
proc_ibuf 6 1 48
proc_iev 6 1 46
proc_flush_imsg 17 6 126
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp_common.c
Function nameLOCCyclomatic complexityToken count
ofp_validate_header 27 7 147
ofp_validate 13 3 84
ofp_output 19 6 126
ofp_send_hello 31 6 265
ofp_validate_hello 39 11 318
ofp_setversion 11 3 43
ofp_recv_hello 38 12 337
ofp_send_featuresrequest 20 4 156
action_new 9 2 69
action_group 10 2 75
action_output 11 2 90
action_push 10 2 81
action_pop_vlan 4 1 19
action_pop_mpls 10 2 78
action_copyttlout 4 1 19
action_copyttlin 4 1 19
action_decnwttl 4 1 19
action_setfield 8 2 52
oxm_get 16 4 102
oxm_inport 10 2 72
oxm_inphyport 10 2 72
oxm_metadata 14 3 111
oxm_etheraddr 13 4 103
oxm_ethertype 9 2 72
oxm_vlanvid 16 3 119
oxm_vlanpcp 9 2 69
oxm_ipdscp 9 2 69
oxm_ipecn 9 2 69
oxm_ipproto 8 2 65
oxm_ipaddr 16 4 125
oxm_tcpport 11 3 86
oxm_udpport 11 3 86
oxm_sctpport 11 3 86
oxm_icmpv4type 9 2 65
oxm_icmpv4code 9 2 65
oxm_arpop 9 2 72
oxm_arpaddr 16 4 125
oxm_arphaddr 13 4 103
oxm_ipv6addr 14 4 121
oxm_ipv6flowlabel 17 3 119
oxm_icmpv6type 9 2 65
oxm_icmpv6code 9 2 65
oxm_ipv6ndtarget 9 2 68
oxm_ipv6ndlinkaddr 10 3 73
oxm_mplslabel 11 2 76
oxm_mplstc 9 2 69
oxm_mplsbos 9 2 69
oxm_tunnelid 14 3 111
oxm_ipv6exthdr 16 3 119
ofp_instruction 9 2 63
ofp_multipart_lookup 10 2 50
ofp_multipart_add 15 4 110
ofp_multipart_del 10 3 53
ofp_multipart_free 6 1 33
ofp_multipart_clear 8 2 44
switch_tablelookup 9 2 48
switch_newtable 9 2 64
switch_deltable 5 1 31
switch_freetables 8 2 44
oflowmod_state 7 2 42
oflowmod_err 11 3 73
oflowmod_open 37 8 224
oflowmod_mopen 8 2 56
oflowmod_mclose 18 4 136
oflowmod_iopen 14 6 117
oflowmod_instruction 39 14 253
oflowmod_instructionclose 14 4 102
oflowmod_iclose 10 4 79
oflowmod_close 21 8 145
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/log.c
Function nameLOCCyclomatic complexityToken count
log_init 8 2 36
log_verbose 4 1 11
logit 7 1 38
vlog 15 3 90
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
fatal 19 3 104
fatalx 5 1 20
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/task.c
Function nameLOCCyclomatic complexityToken count
task_init 16 4 130
taskq_cleanup 11 3 63
task_pdu_add 17 7 95
task_pdu_cb 40 11 212
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/control.c
Function nameLOCCyclomatic complexityToken count
control_init 51 9 331
control_cleanup 9 2 45
control_event_init 7 1 46
control_accept 31 9 217
control_close 11 2 69
control_dispatch 57 15 372
control_getpdu 40 9 230
control_queue 8 1 70
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/logmsg.c
Function nameLOCCyclomatic complexityToken count
log_hexdump 30 11 233
log_pdu 24 5 249
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/vscsi.c
Function nameLOCCyclomatic complexityToken count
vscsi_open 7 2 61
vscsi_dispatch 61 17 494
vscsi_data 16 4 109
vscsi_status 17 5 137
vscsi_event 12 4 79
vscsi_callback 71 13 444
vscsi_fail 6 1 33
vscsi_dataout 32 7 264
vscsi_stats 4 1 12
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/session.c
Function nameLOCCyclomatic complexityToken count
session_find 9 2 52
session_new 20 3 141
session_cleanup 10 2 66
session_shutdown 14 3 89
session_config 19 5 138
session_task_issue 5 1 31
session_logout_issue 19 4 101
session_schedule 13 3 75
session_fsm 18 3 133
session_fsm_callback 30 6 210
sess_do_start 16 4 106
sess_do_conn_loggedin 13 3 84
sess_do_conn_fail 30 9 172
sess_do_conn_closed 18 5 101
sess_do_stop 7 2 43
sess_do_free 7 2 43
sess_do_reinstatement 14 2 92
sess_state 17 5 63
sess_event 28 11 98
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/pdu.c
Function nameLOCCyclomatic complexityToken count
pdu_gethdr 11 3 64
text_to_pdu 29 8 202
pdu_to_text 32 9 206
text_to_num 35 10 200
text_to_bool 18 5 87
pdu_free_queue 8 2 41
pdu_read 26 6 223
pdu_write 58 17 412
pdu_pending 7 2 26
pdu_parse 55 16 394
pdu_readbuf_read 22 5 170
pdu_readbuf_len 7 2 44
pdu_readbuf_set 13 3 72
pdu_readbuf_free 4 1 16
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/util.c
Function nameLOCCyclomatic complexityToken count
pdu_new 7 2 35
pdu_alloc 4 1 16
pdu_dup 7 2 41
pdu_addbuf 14 4 106
pdu_getbuf 12 5 74
pdu_free 7 2 43
socket_setblockmode 13 4 71
log_sockaddr 17 4 132
control_compose 4 1 37
control_build 34 9 290
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/initiator.c
Function nameLOCCyclomatic complexityToken count
initiator_init 14 2 84
initiator_cleanup 9 2 54
initiator_shutdown 7 1 35
initiator_isdown 10 3 59
initiator_t2s 9 2 39
initiator_login 21 3 136
initiator_discovery 21 3 125
initiator_logout 33 7 216
initiator_nop_in_imm 17 2 118
initiator_login_kvp 37 8 239
initiator_login_build 44 8 293
initiator_text_build 18 4 124
initiator_login_cb 70 13 389
initiator_discovery_cb 41 7 255
initiator_logout_cb 36 6 212
default_initiator_name 11 4 83
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/iscsid.h
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/connection.c
Function nameLOCCyclomatic complexityToken count
conn_new 42 6 318
conn_free 13 2 89
conn_dispatch 22 7 110
conn_write_dispatch 36 8 195
conn_fail 5 1 21
conn_task_ready 6 3 33
conn_task_issue 5 1 31
conn_task_schedule 18 4 116
conn_task_cleanup 12 3 72
conn_parse_kvp 28 3 237
conn_gen_kvp 34 11 228
conn_pdu_write 19 9 100
conn_fsm 22 5 169
c_do_connect 33 6 251
c_do_login 5 1 21
c_do_loggedin 6 1 47
c_do_req_logout 7 2 28
c_do_logout 4 1 16
c_do_loggedout 4 1 16
c_do_fail 13 3 87
c_do_cleanup 4 1 16
conn_state 27 10 93
conn_event 28 11 98
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/iscsid.c
Function nameLOCCyclomatic complexityToken count
main 72 17 469
shutdown_cb 10 4 66
main_sig_handler 17 5 82
usage 7 1 25
iscsid_ctrl_dispatch 97 18 674
iscsi_merge_sess_params 16 1 148
iscsi_merge_conn_params 5 1 27
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/include/fstype.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/include/config.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/include/am.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/nfs_prot_svc.c
Function nameLOCCyclomatic complexityToken count
nfs_program_2 132 23 905
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/mount.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/amq.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/amq_xdr.c
Function nameLOCCyclomatic complexityToken count
xdr_amq_string 6 2 34
xdr_time_type 6 2 32
xdr_amq_mount_tree 30 14 279
xdr_amq_mount_tree_p 6 2 46
xdr_amq_mount_info 18 8 143
xdr_amq_mount_info_list 8 2 60
xdr_amq_mount_tree_list 8 2 60
xdr_amq_mount_stats 14 6 107
xdr_amq_opt 6 2 36
xdr_amq_setopt 8 3 53
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/amq_svc.c
Function nameLOCCyclomatic complexityToken count
amq_program_57 79 14 533
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/amq_clnt.c
Function nameLOCCyclomatic complexityToken count
amqproc_null_57 9 2 72
amqproc_mnttree_57 9 2 68
amqproc_umnt_57 9 2 72
amqproc_stats_57 9 2 68
amqproc_export_57 9 2 68
amqproc_setopt_57 9 2 68
amqproc_getmntfs_57 9 2 68
amqproc_getvers_57 9 2 68
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/nfs_prot_xdr.c
Function nameLOCCyclomatic complexityToken count
xdr_nfs_fh 6 2 36
xdr_nfstime 8 3 53
xdr_fattr 32 15 269
xdr_sattr 16 7 125
xdr_filename 6 2 34
xdr_nfspath 6 2 34
xdr_attrstat 14 4 72
xdr_sattrargs 8 3 53
xdr_diropargs 8 3 53
xdr_diropokres 8 3 53
xdr_diropres 14 4 72
xdr_readlinkres 14 4 72
xdr_readargs 12 5 89
xdr_readokres 10 3 72
xdr_readres 14 4 72
xdr_writeargs 16 6 126
xdr_createargs 8 3 53
xdr_renameargs 8 3 53
xdr_linkargs 8 3 53
xdr_symlinkargs 10 4 71
xdr_nfscookie 6 2 33
xdr_readdirargs 10 4 70
xdr_entry 12 5 102
xdr_dirlist 8 3 67
xdr_readdirres 14 4 72
xdr_statfsokres 14 6 107
xdr_statfsres 14 4 72
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/mount_xdr.c
Function nameLOCCyclomatic complexityToken count
xdr_fhstatus 34 16 245
xdr_dirpath 7 2 36
xdr_name 7 2 36
xdr_mountlist 7 2 46
xdr_mountbody 13 4 77
xdr_groups 7 2 46
xdr_groupnode 10 3 57
xdr_exports 7 2 46
xdr_exportnode 13 4 77
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/nfs_prot.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amq/amq.c
Function nameLOCCyclomatic complexityToken count
show_mti 55 13 404
show_mt 9 2 64
show_mi 43 12 283
show_ms 7 1 35
xdr_pri_free 6 1 34
main 233 52 1233
inetresport 21 5 139
privsock 9 2 34
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/nfsx_ops.c
Function nameLOCCyclomatic complexityToken count
nfsx_match 38 11 272
nfsx_prfree 12 3 74
nfsx_init 76 15 515
nfsx_cont 31 5 208
try_nfsx_mount 9 1 50
nfsx_remount 48 20 343
nfsx_fmount 4 1 16
nfsx_fumount 41 10 262
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/wire.c
Function nameLOCCyclomatic complexityToken count
getwire 36 10 246
islocalnet 11 4 76
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/amq_subr.c
Function nameLOCCyclomatic complexityToken count
amqproc_null_57_svc 5 1 21
amqproc_mnttree_57_svc 6 1 34
amqproc_umnt_57_svc 8 2 40
amqproc_stats_57_svc 4 1 21
amqproc_export_57_svc 7 1 41
amqproc_setopt_57_svc 30 11 132
amqproc_getmntfs_57_svc 5 1 25
amqproc_getvers_57_svc 6 1 25
xdr_amq_string 7 2 36
xdr_amq_setopt 10 3 63
xdr_amq_mount_tree_node 39 13 284
xdr_amq_mount_subtree 14 4 106
xdr_amq_mount_tree 15 4 110
xdr_amq_mount_tree_p 7 2 45
xdr_amq_mount_stats 19 6 117
xdr_amq_mount_tree_list 7 2 59
xdr_amq_mount_info_list 46 15 344
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/info_ndbm.c
Function nameLOCCyclomatic complexityToken count
search_ndbm 12 2 71
ndbm_search 19 4 119
ndbm_init 15 3 78
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/umount_fs.c
Function nameLOCCyclomatic complexityToken count
umount_fs 23 8 89
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/rpc_fwd.c
Function nameLOCCyclomatic complexityToken count
fwd_alloc 22 7 134
fwd_free 5 3 21
fwd_init 11 3 62
fwd_locate 9 2 36
fwd_packet 47 15 316
fwd_reply 57 22 355
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/mtab.c
Function nameLOCCyclomatic complexityToken count
mnt_free 8 1 42
discard_mntlist 10 3 46
free_mntlist 4 1 13
hasmntval 12 3 68
mnt_dup 11 1 76
read_mtab 18 3 112
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/nfs_subr.c
Function nameLOCCyclomatic complexityToken count
do_readlink 20 5 113
nfsproc_null_2_svc 5 1 21
nfsproc_getattr_2_svc 27 7 161
nfsproc_setattr_2_svc 9 2 53
nfsproc_root_2_svc 5 1 21
nfsproc_lookup_2_svc 34 8 214
nfsproc_readlink_2_svc 26 7 152
nfsproc_read_2_svc 7 1 43
nfsproc_writecache_2_svc 5 1 21
nfsproc_write_2_svc 9 2 52
nfsproc_create_2_svc 9 2 54
unlink_or_rmdir 32 8 188
nfsproc_remove_2_svc 4 1 24
nfsproc_rename_2_svc 11 4 82
nfsproc_link_2_svc 9 3 58
nfsproc_symlink_2_svc 9 2 49
nfsproc_mkdir_2_svc 9 2 54
nfsproc_rmdir_2_svc 4 1 24
nfsproc_readdir_2_svc 22 5 148
nfsproc_statfs_2_svc 27 5 150
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/info_union.c
Function nameLOCCyclomatic complexityToken count
union_init 5 2 33
union_search 13 2 113
union_reload 39 10 327
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/ifs_ops.c
Function nameLOCCyclomatic complexityToken count
ifs_match 5 1 18
ifs_init 15 4 100
ifs_inherit 16 3 100
ifs_mount 12 3 57
ifs_fmount 7 3 37
ifs_fumount 4 1 11
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/misc_rpc.c
Function nameLOCCyclomatic complexityToken count
rpc_msg_init 11 1 76
pickup_rpc_reply 31 5 187
make_rpc_packet 18 5 130
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/sfs_ops.c
Function nameLOCCyclomatic complexityToken count
sfs_match 23 5 136
sfsx_mount 12 3 55
sfs_fmount 4 1 11
sfs_fumount 4 1 11
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/mapc.c
Function nameLOCCyclomatic complexityToken count
kvhash_of 7 2 38
mapc_showtypes 9 2 63
mapc_add_kv 35 5 214
mapc_repl_kv 13 4 83
search_map 12 3 81
mapc_find_wildcard 6 2 35
mapc_reload_map 14 5 83
mapc_create 48 13 320
mapc_clear 19 4 109
mapc_find 10 2 65
mapc_free 10 3 52
mapc_meta_search 69 27 453
mapc_search 4 1 28
mapc_sync 11 5 57
mapc_reload 6 1 24
root_init 5 2 33
root_newmap 13 4 90
mapc_keyiter 14 3 89
root_keyiter 10 3 54
error_init 6 1 29
error_search 4 1 27
error_reload 4 1 19
error_mtime 5 1 20
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/srvr_nfs.c
Function nameLOCCyclomatic complexityToken count
flush_srvr_nfs_cache 11 2 54
start_ping 13 2 80
got_portmap 29 13 205
call_portmap 27 2 179
recompute_portmap 15 3 70
nfs_pinged 49 17 304
nfs_timed_out 31 12 207
nfs_keepalive 39 13 207
nfs_srvr_port 26 8 154
start_nfs_pings 17 5 90
find_nfs_srvr 69 12 436
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/host_ops.c
Function nameLOCCyclomatic complexityToken count
host_match 10 4 49
host_init 6 2 27
xdr_pri_free 6 1 34
do_mount 11 5 97
sortfun 5 1 44
fetch_fhandle 21 5 125
already_mounted 8 3 51
host_fmount 92 23 679
directory_prefix 9 4 58
host_fumount 41 13 217
host_umounted 3 1 8
host_exec 35 8 247
host_mount 5 1 36
host_umount 5 1 34
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/xutil.c
Function nameLOCCyclomatic complexityToken count
xmallocfailure 6 1 22
xmalloc 14 4 65
xreallocarray 7 2 40
expand_error 22 6 164
show_time_host_and_name 29 12 169
plog 31 11 199
show_opts 11 2 74
cmdoption 43 16 244
switch_option 15 3 61
switch_to_logfile 28 9 150
clocktime 9 2 42
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/ufs_ops.c
Function nameLOCCyclomatic complexityToken count
ufs_match 10 3 48
mount_ufs 17 1 114
ufs_fmount 11 2 51
ufs_fumount 4 1 16
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/clock.c
Function nameLOCCyclomatic complexityToken count
alloc_callout 10 2 36
free_callout 10 2 37
timeout 18 4 128
untimeout 11 3 60
reschedule_timeouts 12 5 82
softclock 20 7 116
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/mount_fs.c
Function nameLOCCyclomatic complexityToken count
compute_mount_flags 9 3 54
mount_fs 22 8 131
nextmntopt 16 5 74
hasmntopt 12 3 89
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/info_nis.c
Function nameLOCCyclomatic complexityToken count
determine_nis_domain 19 4 87
callback 19 4 140
nis_reload 21 4 131
nis_search 44 11 257
nis_init 30 7 141
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/restart.c
Function nameLOCCyclomatic complexityToken count
restart 64 14 461
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/map.c
Function nameLOCCyclomatic complexityToken count
exported_ap_realloc_map 11 4 65
exported_ap_alloc 18 8 114
exported_ap_free 12 7 67
insert_am 10 3 58
remove_am 12 7 87
new_ttl 7 1 42
mk_fattr 20 3 108
init_map 17 1 141
free_map 11 2 59
fh_to_mp3 55 21 327
fh_to_mp 5 1 20
mp_to_fh 7 1 47
find_ap2 16 6 97
find_ap 13 5 71
find_mf 10 4 51
root_fh 16 4 91
root_ap 7 3 36
map_flush_srvr 15 6 93
mount_auto_node 10 2 62
mount_exported 4 1 27
make_root_node 13 2 102
umount_exported 29 12 183
unmount_node 18 8 110
flush_kernel_name_cache 15 6 101
unmount_node_wrap 12 5 86
free_map_if_success 28 7 161
unmount_mp 30 11 213
timeout_mp 53 25 329
reschedule_timeout_mp 6 2 25
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/util.c
Function nameLOCCyclomatic complexityToken count
strnsave 7 1 42
str3cat 13 3 119
strealloc 9 2 57
strsplit 39 18 262
domain_strip 18 9 139
host_normalize 13 5 76
inet_dquad 10 1 77
valid_key 7 3 30
going_down 16 6 63
bind_resv_port 11 3 66
forcibly_timeout_mp 14 5 98
mf_mounted 19 6 117
am_mounted 28 13 258
mount_node 14 4 83
am_unmounted 11 6 74
auto_fmount 5 1 29
auto_fumount 5 1 29
dofork 15 3 54
background 9 3 33
mkdirs 24 8 146
rmdirs 26 12 139
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/nfs_ops.c
Function nameLOCCyclomatic complexityToken count
find_nfs_fhandle_cache 21 6 106
got_nfs_fh 17 6 119
flush_nfs_fhandle_cache 10 3 55
discard_fh 9 2 56
prime_nfs_fhandle_cache 72 15 462
make_nfs_auth 8 2 39
call_mountd 31 6 210
nfs_match 20 6 141
nfs_init 19 4 106
mount_nfs_fh 94 38 782
mount_nfs 18 6 135
nfs_fmount 10 3 48
nfs_fumount 4 1 18
nfs_umounted 16 8 108
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/sched.c
Function nameLOCCyclomatic complexityToken count
ins_que 8 1 44
rem_que 7 1 36
sched_job 8 1 46
run_task 15 2 106
sched_task 8 2 60
wakeupjob 6 1 30
wakeup 17 9 95
wakeup_task 4 1 19
sigchld 29 9 180
do_task_notify 13 5 104
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/amd.c
Function nameLOCCyclomatic complexityToken count
sigterm 15 4 54
sighup 7 4 28
parent_exit 4 1 12
daemon_mode 29 9 151
main 55 12 370
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/nfs_start.c
Function nameLOCCyclomatic complexityToken count
checkup 21 3 121
do_select 30 6 158
rpc_pending_now 24 4 147
run_rpc 84 21 462
bindnfs_port 8 2 35
unregister_amq 5 2 20
mount_automounter 74 22 438
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/efs_ops.c
Function nameLOCCyclomatic complexityToken count
efs_match 4 1 14
efs_fmount 4 1 11
efs_fumount 4 1 11
efs_lookuppn 5 1 27
efs_readdir 5 1 25
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/info_passwd.c
Function nameLOCCyclomatic complexityToken count
passwd_init 5 2 31
passwd_search 50 12 323
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/pfs_ops.c
Function nameLOCCyclomatic complexityToken count
pfs_match 10 4 61
pfs_init 8 2 40
pfs_exec 34 7 208
pfs_fmount 4 1 18
pfs_fumount 4 1 20
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/srvr_afs.c
Function nameLOCCyclomatic complexityToken count
find_afs_srvr 21 2 115
wakeup_srvr 5 1 19
timeout_srvr 15 6 95
free_srvr 14 5 95
dup_srvr 5 1 16
srvrlog 4 1 29
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/afs_ops.c
Function nameLOCCyclomatic complexityToken count
afs_match 15 4 82
mount_toplvl 64 15 476
afs_mkcacheref 10 3 56
root_mount 8 1 51
afs_mount 17 5 139
toplvl_mount 33 8 191
toplvl_mounted 4 1 13
create_union_node 13 3 74
union_mounted 15 5 107
afs_umount 4 1 11
toplvl_umount 16 4 81
afs_umounted 5 3 29
free_continuation 12 2 70
assign_error_mntfs 13 3 76
afs_cont 30 4 181
afs_retry 17 6 120
try_mount 17 6 99
afs_bgmount 185 69 1276
afs_lookuppn 191 55 1140
next_nonerror_node 13 6 67
afs_readdir 68 18 486
dfs_readlink 19 5 103
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/info_file.c
Function nameLOCCyclomatic complexityToken count
read_line 24 10 157
search_or_reload_file 63 24 407
file_open 12 4 68
file_init 9 2 43
file_reload 10 2 81
file_search 17 3 101
file_mtime 9 2 43
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/get_args.c
Function nameLOCCyclomatic complexityToken count
debug_option 4 1 19
get_args 145 47 690
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/mntfs.c
Function nameLOCCyclomatic complexityToken count
dup_mntfs 12 4 58
init_mntfs 28 3 227
alloc_mntfs 9 1 77
find_mntfs 44 14 355
new_mntfs 4 1 28
uninit_mntfs 18 7 121
discard_mntfs 8 1 37
flush_mntfs 11 4 66
free_mntfs 32 11 200
realloc_mntfs 17 7 132
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/am_ops.c
Function nameLOCCyclomatic complexityToken count
ops_showfstypes 11 4 91
sunos4_match 14 4 116
ops_match 29 9 224
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/opts.c
Function nameLOCCyclomatic complexityToken count
opt 25 10 125
eval_opts 71 22 432
free_op 7 2 35
normalize_slash 22 9 130
expand_op 165 41 965
expand_opts 10 3 64
apply_opts 6 2 47
free_opts 5 1 22
expand_key 7 1 35
deslashify 8 5 45
eval_fs_opts 26 7 196
Source file: /home/sergeyb/sources/src/usr.sbin/syslogc/syslogc.c
Function nameLOCCyclomatic complexityToken count
usage 8 1 28
main 97 29 668
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/eigrp.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/update.c
Function nameLOCCyclomatic complexityToken count
send_update 50 11 283
recv_update 16 3 103
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/log.c
Function nameLOCCyclomatic complexityToken count
log_init 8 2 36
log_verbose 4 1 11
logit 7 1 38
vlog 15 3 90
log_warn 18 3 111
log_warnx 7 1 35
log_info 7 1 35
log_debug 9 2 41
fatal 14 3 76
fatalx 5 1 18
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/hello.c
Function nameLOCCyclomatic complexityToken count
send_hello 27 10 172
send_peerterm 19 4 126
recv_hello 23 10 191
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/control.c
Function nameLOCCyclomatic complexityToken count
control_init 36 6 255
control_listen 12 2 80
control_cleanup 8 2 37
control_accept 34 9 272
control_connbyfd 9 2 42
control_connbypid 9 2 42
control_close 17 3 118
control_dispatch_imsg 93 27 597
control_imsg_relay 8 2 76
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/logmsg.c
Function nameLOCCyclomatic complexityToken count
log_sockaddr 12 2 79
log_in6addr 10 1 64
log_in6addr_scope 10 1 70
log_addr 18 4 110
log_prefix 8 2 61
log_route_origin 12 4 67
opcode_name 23 9 84
af_name 11 3 36
if_type_name 11 3 37
dual_state_name 17 6 60
ext_proto_name 29 12 108
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/eigrpe.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/rde.c
Function nameLOCCyclomatic complexityToken count
rde_sig_handler 10 3 37
rde 42 9 324
rde_shutdown 12 1 69
rde_imsg_compose_parent 5 1 38
rde_imsg_compose_eigrpe 6 1 41
rde_dispatch_imsg 119 35 653
rde_dispatch_parent 139 35 878
rde_instance_init 11 1 82
rde_instance_del 13 3 94
rde_send_change_kroute 39 6 254
rde_send_delete_kroute 39 6 254
eigrp_redistribute 55 30 340
rt_redist_set 53 10 387
rt_summary_set 12 1 83
rt_snap 15 3 107
rt_to_ctl 35 5 340
rt_dump 35 10 215
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/eigrpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/reply.c
Function nameLOCCyclomatic complexityToken count
send_reply 53 13 300
recv_reply 13 2 75
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/interface.c
Function nameLOCCyclomatic complexityToken count
iface_id_compare 4 1 25
if_new 25 6 198
if_del 11 2 77
if_lookup 8 2 47
if_addr_new 24 8 200
if_addr_del 22 7 170
if_addr_lookup 11 4 86
if_primary_addr 8 2 49
if_primary_addr_prefixlen 8 2 45
if_update 42 14 221
eigrp_if_new 28 6 214
eigrp_if_del 18 4 140
eigrp_if_lookup 9 3 59
eigrp_if_lookup_id 6 1 31
eigrp_if_start 35 7 225
eigrp_if_reset 22 5 130
eigrp_if_hello_timer 10 2 69
eigrp_if_start_hello_timer 8 2 48
eigrp_if_stop_hello_timer 6 3 37
if_to_ctl 47 7 356
if_set_sockbuf 16 5 100
if_join_ipv4_group 17 3 124
if_leave_ipv4_group 17 3 125
if_set_ipv4_mcast_ttl 10 2 57
if_set_ipv4_mcast 12 2 66
if_set_ipv4_mcast_loop 10 2 57
if_set_ipv4_recvif 9 2 51
if_set_ipv4_hdrincl 9 2 53
if_join_ipv6_group 17 3 115
if_leave_ipv6_group 17 3 119
if_set_ipv6_mcast 10 2 60
if_set_ipv6_mcast_loop 10 2 59
if_set_ipv6_pktinfo 9 2 51
if_set_ipv6_dscp 9 2 51
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/rde.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/eigrpe.c
Function nameLOCCyclomatic complexityToken count
eigrpe_sig_handler 10 3 37
eigrpe 80 22 661
eigrpe_shutdown 20 1 127
eigrpe_imsg_compose_parent 4 1 38
eigrpe_imsg_compose_rde 6 1 41
eigrpe_dispatch_main 156 41 984
eigrpe_dispatch_rde 147 45 799
eigrpe_instance_init 3 1 9
eigrpe_instance_del 7 2 40
message_add 9 2 59
message_list_clr 8 2 43
seq_addr_list_clr 8 2 43
eigrpe_orig_local_route 25 2 200
eigrpe_iface_ctl 16 3 102
eigrpe_nbr_ctl 16 2 117
eigrpe_stats_ctl 13 1 102
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/packet.c
Function nameLOCCyclomatic complexityToken count
gen_eigrp_hdr 13 1 102
send_packet_v4 46 5 350
send_packet_v6 25 5 185
send_packet 71 19 453
recv_packet_nbr 54 16 316
recv_packet_eigrp 129 42 809
recv_packet 116 26 730
eigrp_hdr_sanity_check 41 10 227
find_iface 28 7 153
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/eigrpd.c
Function nameLOCCyclomatic complexityToken count
main_sig_handler 16 5 62
usage 8 1 26
main 141 33 918
eigrpd_shutdown 26 9 166
start_child 40 10 207
main_dispatch_eigrpe 67 22 365
main_dispatch_rde 54 19 310
main_imsg_compose_eigrpe 6 2 50
main_imsg_compose_rde 6 2 50
imsg_event_add 9 2 73
imsg_compose_event 9 2 70
main_imsg_send_ipc_sockets 14 4 113
eigrp_find 8 3 55
main_imsg_send_config 23 6 168
eigrp_reload 10 3 58
eigrp_sendboth 8 3 64
merge_config 61 12 400
merge_instances 3 1 19
config_new_empty 10 2 56
config_clear 7 1 32
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/util.c
Function nameLOCCyclomatic complexityToken count
mask2prefixlen 7 2 32
mask2prefixlen6 39 11 175
prefixlen2mask 6 2 33
prefixlen2mask6 12 3 82
eigrp_applymask 24 6 167
eigrp_addrcmp 13 5 109
eigrp_addrisset 18 6 80
eigrp_prefixcmp 38 11 292
bad_addr_v4 9 5 62
bad_addr_v6 11 7 51
bad_addr 11 3 52
embedscope 14 3 106
recoverscope 13 3 100
addscope 8 3 52
clearscope 7 2 36
sa2addr 18 3 106
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/tlv.c
Function nameLOCCyclomatic complexityToken count
gen_parameter_tlv 17 2 142
gen_sequence_tlv 36 7 225
gen_sw_version_tlv 20 3 135
gen_mcast_seq_tlv 8 1 59
len_route_tlv 21 4 116
gen_route_tlv 87 19 585
tlv_decode_parameter 10 2 57
tlv_decode_seq 49 9 255
tlv_decode_sw_version 10 2 57
tlv_decode_mcast_seq 10 2 57
tlv_decode_route 86 15 669
metric_encode_mtu 6 1 50
metric_decode_mtu 4 1 36
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/neighbor.c
Function nameLOCCyclomatic complexityToken count
nbr_compare 8 3 85
nbr_pid_compare 4 1 25
nbr_new 31 6 236
nbr_init 16 2 110
nbr_del 17 4 143
nbr_update_peerid 11 4 65
nbr_find 13 1 93
nbr_find_peerid 6 1 31
nbr_to_ctl 13 1 106
nbr_clear_ctl 22 8 162
nbr_timeout 7 1 56
nbr_start_timeout 8 2 48
nbr_stop_timeout 6 3 37
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/in_cksum.c
Function nameLOCCyclomatic complexityToken count
in_cksum 28 6 174
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/query.c
Function nameLOCCyclomatic complexityToken count
send_query 54 13 305
recv_query 13 2 75
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/rde_dual.c
Function nameLOCCyclomatic complexityToken count
dual_fsm 31 9 199
rt_compare 12 4 85
rt_find 8 1 56
rt_new 20 3 151
rt_del 12 3 94
route_find 8 2 48
route_new 26 5 210
route_del 10 2 78
safe_sum_uint32 8 2 50
safe_mul_uint32 8 2 50
eigrp_composite_delay 5 1 30
eigrp_real_delay 4 1 14
eigrp_composite_bandwidth 5 1 20
eigrp_real_bandwidth 4 1 21
route_composite_metric 21 3 162
route_update_metrics 29 3 239
reply_outstanding_add 18 3 137
reply_outstanding_find 8 2 48
reply_outstanding_remove 8 1 52
reply_active_timer 8 1 60
reply_active_start_timer 9 2 61
reply_active_stop_timer 6 3 37
reply_sia_timer 24 4 170
reply_sia_start_timer 9 2 65
reply_sia_stop_timer 6 3 37
rinfo_fill_successor 15 3 114
rinfo_fill_infinite 9 1 71
rt_update_fib 37 12 221
rt_set_successor 29 3 235
rt_get_successor_fc 22 7 130
rde_summary_check 15 5 104
rde_send_update 10 3 84
rde_send_update_all 11 4 72
rde_send_query 8 2 55
rde_send_siaquery 7 1 48
rde_send_query_all 22 9 159
rde_flush_queries 9 1 53
rde_send_reply 14 4 106
rde_check_update 50 13 296
rde_check_query 80 19 493
rde_last_reply 60 11 360
rde_check_reply 34 9 195
rde_check_link_down_rn 43 10 244
rde_check_link_down_nbr 14 3 88
rde_check_link_down 8 2 43
rde_check_link_cost_change 3 1 14
rde_nbr_compare 4 1 25
rde_nbr_find 6 1 31
rde_nbr_new 18 5 136
rde_nbr_del 12 4 80
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/rtp.c
Function nameLOCCyclomatic complexityToken count
rtp_buf_new 8 2 49
rtp_buf_hold 5 1 19
rtp_buf_release 7 2 32
rtp_packet_new 12 2 90
rtp_packet_del 7 1 40
rtp_process_ack 14 4 95
rtp_send_packet 5 1 35
rtp_enqueue_packet 6 2 40
rtp_seq_inc 6 2 28
rtp_send_ucast 10 1 65
rtp_send_mcast 44 8 289
rtp_send 7 2 38
rtp_send_ack 15 3 102
rtp_retrans_timer 13 2 84
rtp_retrans_start_timer 8 2 46
rtp_retrans_stop_timer 6 3 37
rtp_ack_timer 5 1 26
rtp_ack_start_timer 8 2 46
rtp_ack_stop_timer 6 3 37
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/printconf.c
Function nameLOCCyclomatic complexityToken count
print_mainconf 12 2 76
print_no 7 2 24
print_redist_metric 5 1 34
print_redistribute 39 9 205
print_iface 16 3 126
print_as 17 1 137
print_af 9 2 56
print_config 8 1 38
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/kroute.c
Function nameLOCCyclomatic complexityToken count
kif_init 6 2 26
kr_init 35 8 251
kif_redistribute 13 1 77
kr_change 26 5 155
kr_delete 22 7 162
kr_shutdown 6 1 18
kr_fib_couple 17 3 104
kr_fib_decouple 17 3 104
kr_dispatch_msg 5 2 28
kr_show_route 26 5 178
kr_ifinfo 10 3 75
kr_redist_remove 7 2 43
kr_redist_eval 33 13 206
kr_redistribute 15 3 93
kroute_compare 16 6 114
kroute_find_prefix 8 1 52
kroute_find_prio 10 3 63
kroute_find_gw 8 2 62
kroute_insert 52 11 360
kroute_remove 36 7 250
kroute_clear 18 4 124
kif_compare 4 1 29
kif_find 7 1 47
kif_findname 8 2 49
kif_insert 11 3 77
kif_remove 14 3 94
kif_clear 6 2 32
kif_update 26 8 221
kif_validate 7 2 40
protect_lo 16 1 113
prefixlen_classful 13 5 60
get_rtaddrs 12 3 87
if_change 34 7 221
if_newaddr 53 13 383
if_deladdr 60 16 437
if_announce 19 5 93
send_rtmsg_v4 71 9 537
send_rtmsg_v6 74 9 613
send_rtmsg 12 3 63
fetchtable 30 4 193
fetchifs 29 4 184
dispatch_rtmsg 16 5 98
rtmsg_process 70 21 440
rtmsg_process_route 119 40 866
Source file: /home/sergeyb/sources/src/usr.sbin/sensorsd/sensorsd.c
Function nameLOCCyclomatic complexityToken count
usage 7 1 25
main 56 16 324
create 23 5 146
create_sdlim 35 7 268
destroy_sdlim 10 2 61
check 67 18 457
check_sdlim 56 15 359
execute 14 3 64
report 6 1 28
report_sdlim 178 43 923
print_sensor 78 25 495
parse_config 6 1 29
parse_config_sdlim 35 10 285
get_val 70 27 306
reparse_cfg 4 1 11
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/options.c
Function nameLOCCyclomatic complexityToken count
rbtree_strcmp 7 5 64
nsd_options_create 68 5 451
nsd_options_insert_zone 10 3 68
nsd_options_insert_pattern 10 3 56
parse_options_file 131 35 795
options_zonestatnames_create 19 3 153
comp_zonebucket 4 1 31
zone_list_free_insert 18 2 143
zone_list_zone_insert 25 3 177
parse_zone_list_file 55 14 412
zone_options_delete 7 1 72
zone_list_add 111 24 874
zone_list_del 17 4 132
delbucket 15 4 116
zone_list_compact 71 11 438
zone_list_close 5 1 22
c_error_va_list_pos 28 7 236
c_error_msg_pos 7 1 38
c_error_msg 7 1 35
c_error 6 3 48
c_wrap 4 1 8
zone_options_create 11 1 59
acl_equal 13 13 163
acl_list_equal 11 6 61
pattern_options_create 33 2 191
acl_delete 10 3 82
acl_list_delete 9 2 41
pattern_options_remove 22 5 200
copy_acl 14 4 103
copy_acl_list 16 4 107
copy_changed_acl 8 2 52
copy_pat_fixed 26 4 190
pattern_options_add_modify 30 4 286
pattern_options_find 4 1 29
pattern_options_equal 43 38 484
marshal_u8 5 1 26
unmarshal_u8 4 1 15
marshal_u64 5 1 26
unmarshal_u64 4 1 15
marshal_u16 5 1 26
unmarshal_u16 4 1 15
marshal_u32 5 1 26
unmarshal_u32 4 1 15
marshal_str 10 2 64
unmarshal_str 10 2 76
marshal_acl 7 1 56
unmarshal_acl 11 1 84
marshal_acl_list 9 2 47
unmarshal_acl_list 12 3 75
pattern_options_marshal 27 2 230
pattern_options_unmarshal 29 2 258
key_options_create 7 1 34
key_options_insert 6 2 48
key_options_find 4 1 29
key_options_desetup 12 3 82
key_options_setup 25 4 175
key_options_remove 23 7 230
key_options_equal 5 3 54
key_options_add_modify 22 2 203
acl_check_incoming 32 11 162
acl_addr_matches_ipv6host 26 10 198
acl_addr_matches_ipv4host 25 10 186
acl_addr_matches_host 17 5 104
acl_addr_matches 19 5 120
acl_addr_match_mask 13 3 83
acl_addr_match_range 23 12 147
acl_key_matches 36 11 251
acl_same_host 30 15 218
key_options_tsig_add 8 1 44
zone_is_slave 4 3 24
get_char 9 2 51
get_end_label 8 2 52
replace_str 13 3 117
config_cook_string 23 9 250
config_make_zonefile 32 18 380
zone_options_find 4 1 30
acl_find_num 13 5 57
parse_acl_is_ipv6 9 4 42
parse_acl_range_type 21 4 120
parse_acl_range_subnet 21 7 141
parse_acl_info 57 17 490
append_acl 14 3 78
config_apply_pattern 53 12 347
nsd_options_destroy 4 1 16
getzonestatid 24 6 205
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsec3.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/answer.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/ipc.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rdata.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/edns.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/lookup3.c
Function nameLOCCyclomatic complexityToken count
hash_set_raninit 4 1 11
hashword 27 6 143
hashword2 29 6 161
hashlittle 134 61 1512
hashlittle2 139 61 1566
hashbig 92 45 1068
driver1 15 4 109
driver2 62 15 614
driver3 80 8 1135
driver4 13 3 92
main 8 1 24
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/netio.c
Function nameLOCCyclomatic complexityToken count
netio_create 11 1 60
netio_add_handler 17 2 98
netio_remove_handler 18 4 125
netio_current_time 14 3 80
netio_dispatch 106 35 715
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/netio.h
Function nameLOCCyclomatic complexityToken count
operator | 3 1 21
operator |= 4 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/options.h
Function nameLOCCyclomatic complexityToken count
nsd_options_num_zones 2 1 16
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/buffer.c
Function nameLOCCyclomatic complexityToken count
buffer_cleanup 6 1 33
buffer_create 14 2 89
buffer_create_from 9 1 57
buffer_clear 6 1 27
buffer_flip 6 1 27
buffer_rewind 5 1 19
buffer_set_capacity 7 1 52
buffer_reserve 13 3 84
buffer_printf 23 3 147
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/tsig.c
Function nameLOCCyclomatic complexityToken count
tsig_digest_variables 44 3 291
tree_dname_compare 4 1 32
tsig_init 8 2 35
tsig_add_key 8 1 57
tsig_del_key 8 3 53
tsig_find_key 8 2 38
tsig_add_algorithm 11 2 56
tsig_strlowercmp 23 15 149
tsig_get_algorithm_by_name 17 5 93
tsig_error 25 6 85
tsig_cleanup 6 1 32
tsig_create_record 5 1 25
tsig_create_record_custom 11 2 81
tsig_delete_record 7 2 39
tsig_init_record 15 1 77
tsig_from_query 72 12 418
tsig_init_query 16 1 98
tsig_prepare 24 3 143
tsig_update 16 2 101
tsig_sign 13 1 95
tsig_verify 17 3 83
tsig_find_rr 24 4 141
tsig_parse_rr 72 13 502
tsig_append_rr 29 3 225
tsig_reserved_space 21 4 111
tsig_error_reply 6 2 33
tsig_finalize 4 2 9
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-notify.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-tcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/packet.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd.c
Function nameLOCCyclomatic complexityToken count
xfrd_signal_callback 6 2 33
xfrd_sigsetup 11 3 74
xfrd_init 82 11 656
xfrd_process_activated 13 3 80
xfrd_sig_process 46 14 337
xfrd_main 19 4 79
xfrd_shutdown 55 15 382
xfrd_clean_pending_tasks 12 3 92
xfrd_init_slave_zone 37 1 295
xfrd_init_zones 24 2 183
xfrd_process_soa_info_task 53 3 500
xfrd_receive_soa 61 14 440
xfrd_reopen_logfile 5 2 25
xfrd_deactivate_zone 11 4 63
xfrd_del_slave_zone 38 13 274
xfrd_free_namedb 6 1 29
xfrd_set_timer_refresh 28 8 185
xfrd_set_timer_retry 45 14 322
xfrd_handle_zone 50 16 365
xfrd_make_request 90 23 603
xfrd_udp_obtain 37 9 234
xfrd_time 8 2 34
xfrd_copy_soa 31 3 413
xfrd_set_zone_state 11 5 59
xfrd_set_refresh_now 13 3 78
xfrd_unset_timer 8 2 46
xfrd_set_timer 23 8 205
xfrd_handle_incoming_soa 70 17 479
xfrd_send_expire_notification 6 1 42
xfrd_udp_read_packet 14 2 76
xfrd_udp_release 47 13 297
xfrd_disable_ixfr 9 3 61
xfrd_udp_read 51 12 264
xfrd_send_udp 38 7 204
xfrd_bind_local_interface 53 16 333
xfrd_tsig_sign_request 22 3 154
xfrd_send_ixfr_request_udp 33 6 263
xfrd_parse_soa_info 25 7 219
xfrd_xfr_check_rrs 95 18 623
xfrd_xfr_process_tsig 47 14 316
xfrd_parse_received_xfr_packet 188 46 1206
xfrd_pretty_time 8 2 62
xfrd_handle_received_xfr_packet 112 25 705
xfrd_set_reload_timeout 27 8 206
xfrd_handle_reload 9 1 61
xfrd_handle_notify_and_start_xfr 11 7 72
xfrd_handle_passed_packet 48 10 290
xfrd_handle_incoming_notify 30 10 200
find_same_master_notify 17 4 87
xfrd_check_failed_updates 38 9 198
xfrd_prepare_zones_for_reload 15 5 69
xfrd_get_temp_buffer 4 1 10
xfrd_process_stat_info_task 10 3 96
xfrd_process_zonestat_inc_task 8 1 88
xfrd_handle_taskresult 18 6 77
xfrd_process_task_result 12 2 86
xfrd_set_reload_now 7 2 38
xfrd_handle_write_timer 18 3 124
xfrd_write_timer_set 14 4 103
xfrd_handle_child_timer 7 1 38
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd-control.c
Function nameLOCCyclomatic complexityToken count
usage 33 1 156
ssl_err 6 1 28
setup_ctx 30 14 215
contact_server 71 20 508
setup_ssl 28 9 157
send_file 10 4 94
go_cmd 39 14 333
go 27 5 197
main 56 16 335
main 5 1 14
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udb.h
Function nameLOCCyclomatic complexityToken count
udb_ptr_data 3 1 18
udb_ptr_is_null 3 1 17
udb_ptr_new 4 1 34
udb_ptr_unlink 4 2 25
udb_rptr_set_rptr 8 4 87
udb_rptr_set_ptr 7 4 78
udb_ptr_set_rptr 6 3 56
udb_ptr_set_ptr 3 1 27
udb_rptr_zero 5 3 52
udb_ptr_zero 3 1 21
udb_rel_ptr_free_space 7 3 69
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udbzone.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-disk.c
Function nameLOCCyclomatic complexityToken count
xfrd_read_token 13 5 79
xfrd_read_i16 8 2 40
xfrd_read_i32 8 2 40
xfrd_read_time_t 8 2 40
xfrd_read_check_str 9 3 47
xfrd_read_state_soa 43 18 358
xfrd_read_state 177 56 1173
neato_timeout 23 6 172
xfrd_write_dname 27 9 175
xfrd_write_state_soa 29 2 314
xfrd_write_state 66 8 563
tempdirname 5 1 38
xfrd_make_tempdir 14 4 82
xfrd_del_tempdir 9 3 57
tempxfrname 6 1 54
xfrd_open_xfrfile 17 4 103
xfrd_unlink_xfrfile 9 2 58
xfrd_get_xfrfile_size 12 2 75
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/difffile.c
Function nameLOCCyclomatic complexityToken count
write_64 4 1 25
write_32 5 1 32
write_8 4 1 25
write_str 7 2 44
diff_write_packet 43 20 326
diff_write_commit 44 12 299
diff_read_64 8 2 42
diff_read_32 9 2 51
diff_read_8 8 2 42
diff_read_str 12 4 69
add_rdata_to_recyclebin 13 3 95
has_data_below 12 4 62
rrset_zero_nonexist_check 18 9 106
rrset_delete 35 11 266
rdatas_equal 46 10 328
debug_find_rr_num 39 6 295
find_rr_num 20 7 138
nsec3_delete_rr_trigger 28 14 220
nsec3_rrsets_changed_remove_prehash 23 11 171
nsec3_rrsets_changed_add_prehash 16 8 115
nsec3_delete_rrset_trigger 16 10 114
nsec3_add_rr_trigger 17 9 144
nsec3_add_rrset_trigger 17 9 110
rr_lower_usage 13 4 106
rrset_lower_usage 6 2 43
delete_RR 89 22 641
add_RR 91 23 706
find_or_create_zone 32 9 215
delete_zone_rrs 38 10 258
apply_ixfr 224 55 1467
check_for_bad_serial 22 7 149
apply_ixfr_for_zone 141 38 1037
task_file_create 4 1 20
task_create_new_elem 22 4 162
task_new_soainfo 59 9 554
task_process_sync 6 1 38
task_remap 6 1 40
task_clear 15 2 127
task_new_expire 16 3 117
task_new_check_zonefiles 14 3 108
task_new_write_zonefiles 14 3 108
task_new_set_verbosity 13 2 91
task_new_stat_info 17 2 136
task_new_add_zone 20 2 169
task_new_del_zone 12 2 95
task_new_add_key 21 4 219
task_new_del_key 15 2 122
task_new_add_pattern 24 2 174
task_new_del_pattern 15 2 124
task_new_opt_change 16 3 127
task_new_zonestat_inc 15 3 102
task_new_apply_xfr 17 2 131
task_process_expire 20 8 145
task_process_set_verbosity 5 1 35
task_process_checkzones 12 3 77
task_process_writezones 11 3 61
task_process_add_zone 25 5 205
task_process_del_zone 25 6 184
task_process_add_key 10 1 107
task_process_del_key 6 1 50
task_process_add_pattern 11 1 88
task_process_del_pattern 6 1 50
task_process_opt_change 10 2 88
task_process_zonestat_inc 7 1 64
task_process_apply_xfr 23 4 174
task_process_in_reload 50 15 275
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rrl.c
Function nameLOCCyclomatic complexityToken count
rrl_mmap_init 35 7 255
rrl_set_limit 6 1 29
rrl_init 7 4 42
rrl_get_source 16 3 134
rrlsource2str 28 5 218
rrlstr2type 14 11 161
rrltype2str 16 11 79
rrl_classify 61 19 416
examine_query 24 8 272
rrl_attenuate_bucket 9 2 53
rrl_msg 19 7 164
used_to_block 4 2 26
rrl_update 54 18 473
rrl_process_query 14 4 92
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/zonec.c
Function nameLOCCyclomatic complexityToken count
alloc_rdata 6 1 35
alloc_rdata_init 7 1 51
zparser_conv_hex 34 8 190
zparser_conv_hex_length 34 6 185
zparser_conv_time 12 2 76
zparser_conv_services 48 9 303
zparser_conv_serial 14 2 79
zparser_conv_period 14 2 79
zparser_conv_short 13 2 79
zparser_conv_byte 13 2 76
zparser_conv_algorithm 17 3 98
zparser_conv_certificate_type 17 3 104
zparser_conv_a 11 2 66
zparser_conv_aaaa 11 2 67
zparser_conv_ilnp64 62 9 354
zparser_conv_eui48 21 3 171
zparser_conv_eui64 23 3 201
zparser_conv_eui 36 7 178
zparser_conv_text 15 2 86
zparser_conv_long_text 10 2 52
zparser_conv_tag 27 6 165
zparser_conv_dns_name 9 1 61
zparser_conv_b32 17 4 110
zparser_conv_b64 16 3 91
zparser_conv_rrtype 12 2 70
zparser_conv_nxt 10 3 61
zparser_conv_nsec 38 7 274
parse_int 18 3 77
precsize_aton 35 10 231
zparser_conv_loc 143 49 957
zparser_conv_apl_rdata 80 14 486
zparser_ttl2int 11 2 55
zadd_rdata_wireformat 10 2 52
zadd_rdata_txt_wireformat 26 5 205
zadd_rdata_txt_clean_wireformat 16 4 115
zadd_rdata_domain 11 2 57
parse_unknown_rdata 31 5 146
zrdatacmp 38 10 249
zone_open 12 3 75
set_bitnsec 7 1 53
has_soa 9 4 53
process_rr 127 35 862
domain_find_rrset_any 11 3 48
check_dname 24 8 113
zonec_read 41 10 284
zonec_setup_parser 10 1 77
zonec_desetup_parser 8 2 27
zonec_setup_string_parser 11 1 77
zonec_desetup_string_parser 6 1 28
zonec_parse_string 22 3 133
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rdata.c
Function nameLOCCyclomatic complexityToken count
rdata_dname_to_string 9 1 41
rdata_dns_name_to_string 29 11 219
rdata_text_to_string 21 5 141
rdata_texts_to_string 25 8 185
rdata_long_text_to_string 21 5 141
rdata_tag_to_string 14 4 101
rdata_byte_to_string 7 1 43
rdata_short_to_string 7 1 45
rdata_long_to_string 7 1 45
rdata_a_to_string 11 2 66
rdata_aaaa_to_string 11 2 66
rdata_ilnp64_to_string 11 1 83
rdata_eui48_to_string 14 1 97
rdata_eui64_to_string 16 1 117
rdata_rrtype_to_string 7 1 44
rdata_algorithm_to_string 7 1 42
rdata_certificate_type_to_string 13 2 75
rdata_period_to_string 7 1 45
rdata_time_to_string 13 2 88
rdata_base32_to_string 18 3 112
rdata_base64_to_string 17 3 106
hex_to_string 14 2 116
rdata_hex_to_string 10 2 57
rdata_hexlen_to_string 10 2 61
rdata_nsap_to_string 7 1 43
rdata_apl_to_string 35 8 223
rdata_services_to_string 31 6 204
rdata_ipsecgateway_to_string 31 6 154
rdata_nxt_to_string 14 3 89
rdata_nsec_to_string 31 6 181
rdata_loc_to_string 6 1 27
rdata_unknown_to_string 8 1 54
rdata_atom_to_string 5 1 31
rdata_wireformat_to_rdata_atoms 149 38 767
rdata_maximum_wireformat_size 15 3 82
rdata_atoms_to_unknown_string 22 3 132
print_rdata 27 7 150
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/buffer.h
Function nameLOCCyclomatic complexityToken count
buffer_invariant 3 1 11
buffer_invariant 7 1 42
buffer_position 4 1 13
buffer_set_position 5 1 26
buffer_skip 5 1 30
buffer_limit 4 1 13
buffer_set_limit 7 2 44
buffer_capacity 4 1 13
buffer_at 5 1 27
buffer_begin 4 1 16
buffer_end 4 1 18
buffer_current 4 1 18
buffer_remaining_at 6 1 32
buffer_remaining 4 1 18
buffer_available_at 4 1 24
buffer_available 4 1 23
buffer_write_at 5 1 44
buffer_write 5 1 35
buffer_write_string_at 4 1 30
buffer_write_string 4 1 25
buffer_write_u8_at 5 1 38
buffer_write_u8 5 1 31
buffer_write_u16_at 5 1 40
buffer_write_u16 5 1 31
buffer_write_u32_at 5 1 40
buffer_write_u32 5 1 31
buffer_write_u64_at 5 1 40
buffer_write_u64 5 1 31
buffer_read_at 5 1 43
buffer_read 5 1 34
buffer_read_u8_at 5 1 34
buffer_read_u8 6 1 32
buffer_read_u16_at 5 1 36
buffer_read_u16 6 1 32
buffer_read_u32_at 5 1 36
buffer_read_u32 6 1 32
buffer_read_u64_at 5 1 36
buffer_read_u64 6 1 32
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd-checkconf.c
Function nameLOCCyclomatic complexityToken count
zone_print_rrl_whitelist 12 4 69
underscore 17 5 83
usage 19 1 113
print_string_var 8 2 40
quote 7 2 28
quotepath 10 8 79
quote_acl 10 5 55
print_acl 43 18 342
print_acl_ips 8 2 36
config_print_zone 152 17 1094
print_zone_content_elems 31 14 233
config_test_print_server 86 18 723
append_trailing_slash 10 4 87
file_inside_chroot 5 5 51
additional_checks 98 24 655
main 78 18 370
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/region-allocator.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udbradtree.c
Function nameLOCCyclomatic complexityToken count
udb_radix_tree_create 9 2 56
size_of_radarray 5 1 40
size_of_lookup 6 1 44
size_of_lookup_ext 4 1 14
size_of_lookup_needed 6 1 37
lookup 6 1 41
lookup_len 4 1 24
lookup_string 5 1 45
lookup_node 5 1 39
udb_radarray_zero_ptrs 7 2 53
udb_radnode_delete 14 3 111
udb_radnode_del_postorder 18 3 167
udb_radix_tree_clear 9 1 69
udb_radix_tree_delete 7 2 52
udb_radix_find_prefix_node 46 10 318
udb_radnode_str_grow 29 5 303
udb_radnode_array_grow 30 5 335
udb_radnode_array_create 19 3 147
udb_radnode_array_space 70 20 756
udb_radnode_str_space 12 4 73
udb_radsel_prefix_remainder 7 1 42
udb_radsel_str_create 6 1 42
udb_bstr_common 6 1 43
udb_bstr_is_prefix 6 1 43
udb_radnode_array_space_strremain 6 1 50
udb_radsel_split 137 20 1365
udb_radix_insert 116 19 1003
udb_radnode_cleanup_onechild 29 2 304
udb_radarray_reduce 29 3 323
udb_radarray_max_len 11 4 83
udb_radarray_reduce_if_needed 10 7 109
udb_radnode_array_clean_all 6 1 42
udb_radnode_array_clean_front 31 9 372
udb_radnode_array_clean_end 15 5 115
udb_radnode_cleanup_leaf 20 7 159
udb_radnode_cleanup 38 10 261
udb_radix_delete 9 3 60
udb_radix_search 30 8 244
udb_radnode_last_in_subtree 27 6 215
udb_radnode_last_in_subtree_incl_self 18 3 109
udb_radnode_first_in_subtree 23 5 165
udb_radnode_find_prev_from_idx 14 4 93
udb_ret_self_or_prev 11 2 67
udb_radix_find_less_equal 87 16 657
udb_radix_first 10 5 79
udb_radix_last 8 4 66
udb_radix_next 38 8 268
udb_radix_prev 21 4 152
udb_radname_insert 8 1 73
udb_radname_search 12 1 90
udb_radix_tree_walk_chunk 8 1 66
udb_radix_node_walk_chunk 10 1 96
udb_radix_array_walk_chunk 12 2 107
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/util.h
Function nameLOCCyclomatic complexityToken count
write_uint16 7 2 66
write_uint32 9 2 104
write_uint64 12 1 168
read_uint16 6 2 46
read_uint32 6 2 66
read_uint64 13 1 119
timeval_to_timespec 6 1 33
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dname.c
Function nameLOCCyclomatic complexityToken count
dname_make 54 9 366
dname_make_from_packet 8 2 51
dname_make_wire_from_packet 55 13 307
dname_parse 7 2 42
dname_parse_wire 62 17 356
dname_copy 5 1 30
dname_partial_copy 10 3 62
dname_origin 4 1 27
dname_is_subdomain 12 4 74
dname_compare 22 5 122
label_compare 20 3 116
dname_label_match_count 14 4 79
dname_to_string 44 12 274
dname_make_from_label 10 2 78
dname_concatenate 10 1 85
dname_replace 29 4 281
wirelabel2str 21 7 132
wiredname2str 29 10 178
dname_equal_nocase 19 7 126
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsec3.c
Function nameLOCCyclomatic complexityToken count
cmp_hash_tree 9 4 85
cmp_wchash_tree 9 4 85
cmp_dshash_tree 9 4 85
cmp_nsec3_tree 8 1 92
nsec3_zone_trees_create 11 5 85
nsec3_hash_tree_clear 7 1 37
detect_nsec3_params 9 3 90
nsec3_b32_create 9 1 74
nsec3_hash_and_store 10 1 76
nsec3_lookup_hash_and_wc 14 3 106
nsec3_lookup_hash_ds 9 2 50
nsec3_has_soa 9 4 60
check_apex_soa 42 5 267
udb_zone_find_nsec3param 30 13 336
db_find_nsec3param 35 9 310
nsec3_find_zone_param 7 2 56
nsec3_rdata_params_ok 14 5 139
nsec3_rr_uses_params 6 3 40
nsec3_in_chain_count 13 5 84
nsec3_chain_find_prev 12 5 75
nsec3_clear_precompile 33 7 227
nsec3_domain_part_of_zone 9 3 42
nsec3_condition_hash 5 4 40
nsec3_condition_dshash 6 5 51
nsec3_tree_zone 16 7 94
nsec3_tree_dszone 6 2 32
nsec3_find_cover 25 4 175
nsec3_precompile_domain 21 2 188
nsec3_precompile_domain_ds 16 2 126
parse_nsec3_name 11 3 92
nsec3_precompile_nsec3rr 10 2 71
nsec3_precompile_newparam 30 10 237
prehash_zone_complete 23 8 165
init_lookup_key_hash_tree 2 1 25
init_lookup_key_wc_tree 2 1 25
init_lookup_key_ds_tree 2 1 25
process_first 20 4 110
process_end 20 4 108
process_range 54 14 486
process_prehash_domain 15 3 118
prehash_zone 16 4 96
nsec3_add_rrset 9 3 58
nsec3_add_nonexist_proof 22 2 144
nsec3_add_closest_encloser_proof 11 4 69
nsec3_answer_wildcard 9 3 53
nsec3_add_ds_proof 35 15 244
nsec3_answer_nodata 41 21 284
nsec3_answer_delegation 6 2 38
domain_has_only_NSEC3 17 6 89
nsec3_answer_authoritative 42 20 290
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/ipc.c
Function nameLOCCyclomatic complexityToken count
ipc_child_quit 9 3 40
child_handle_parent_command 52 12 313
parent_handle_xfrd_command 45 9 226
send_stat_to_child 12 4 80
debug_print_fwd_name 19 2 132
send_quit_to_child 15 5 107
child_is_done 22 5 177
stats_add 27 5 285
stats_subtract 25 5 269
read_child_stats 13 2 112
parent_handle_child_command 136 33 888
parent_check_all_children_exited 12 4 76
parent_handle_reload_command 48 10 281
xfrd_send_reload_req 25 4 260
ipc_xfrd_set_listening 12 3 102
xfrd_send_shutdown_req 12 2 81
xfrd_send_quit_req 12 2 81
xfrd_send_stats 10 2 66
xfrd_handle_ipc 30 14 174
xfrd_handle_ipc_read 104 19 707
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/packet.c
Function nameLOCCyclomatic complexityToken count
encode_dname 26 4 191
packet_encode_rr 48 5 311
for 10 2 61
for 9 2 55
if 22 5 134
if 7 1 50
if 6 1 36
packet_skip_dname 21 7 110
packet_skip_rr 20 6 104
packet_read_rr 37 7 246
packet_read_query_section 29 7 184
packet_find_notify_serial 43 13 265
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/mini_event.c
Function nameLOCCyclomatic complexityToken count
mini_ev_cmp 18 7 134
settime 8 2 45
event_init 41 9 268
event_get_version 4 1 10
event_get_method 4 1 9
handle_timeouts 29 6 215
handle_select 43 14 321
event_base_loop 16 6 87
event_base_dispatch 18 6 89
event_base_loopexit 6 1 26
event_base_free 13 5 67
event_set 10 1 71
event_base_set 6 1 29
event_add 32 12 292
event_del 16 6 164
sigh 10 5 59
signal_add 13 3 98
signal_del 8 3 50
mini_ev_cmp 4 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/tsig-openssl.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/configyyrename.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/remote.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rbtree.c
Function nameLOCCyclomatic complexityToken count
rbtree_create 13 2 80
rbtree_rotate_left 19 4 114
rbtree_rotate_right 19 4 114
rbtree_insert_fixup 40 8 279
rbtree_insert 32 6 169
rbtree_search 9 2 40
swap_int8 4 1 29
swap_np 4 1 30
change_parent_ptr 13 8 108
change_child_ptr 6 4 53
rbtree_delete 50 13 396
rbtree_delete_fixup 84 29 495
rbtree_find_less_equal 22 4 108
rbtree_first 6 2 36
rbtree_last 6 2 36
rbtree_next 15 5 83
rbtree_previous 15 5 83
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/difffile.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/tsig-openssl.c
Function nameLOCCyclomatic complexityToken count
tsig_openssl_init_algorithm 29 4 164
tsig_openssl_init 19 2 105
cleanup_context 7 2 33
create_context 9 3 54
init_context 8 1 57
update 5 1 43
final 7 1 53
tsig_openssl_finalize 4 2 9
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd-mem.c
Function nameLOCCyclomatic complexityToken count
usage 6 1 24
error 8 1 40
account_zone 11 2 101
pretty_mem 14 5 175
print_zone_mem 7 1 45
account_total 14 3 125
print_tot_mem 15 2 109
add_mem 8 1 54
check_zone_mem 27 2 221
check_mem 23 5 205
writepid 4 1 15
unlinkpid 3 1 12
bind8_stats 3 1 12
sig_handler 3 1 10
main 61 20 388
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/iterated_hash.c
Function nameLOCCyclomatic complexityToken count
iterated_hash 22 6 150
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd.c
Function nameLOCCyclomatic complexityToken count
usage 36 1 74
version 10 1 38
error 8 1 40
append_trailing_slash 10 4 87
file_inside_chroot 5 5 51
get_ip_port_frm_str 13 3 63
add_interface 17 2 225
readpid 25 6 139
writepid 25 4 184
unlinkpid 14 4 87
sig_handler 45 15 150
bind8_stats 46 20 548
main 554 187 4062
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/namedb.h
Function nameLOCCyclomatic complexityToken count
domain_table_count 5 2 22
domain_dname 5 2 28
domain_dname_const 5 2 26
domain_previous 7 4 61
domain_next 7 4 61
domain_is_subdomain 2 1 26
domain_to_string 2 1 19
rdata_atom_domain 4 1 12
rdata_atom_size 4 1 13
rdata_atom_data 4 1 20
rdata_atom_is_domain 8 3 49
rdata_atom_is_literal_domain 7 2 40
rdata_atom_wireformat_type 7 1 40
rrset_rrtype 6 1 32
rrset_rrclass 6 1 32
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/namedb.c
Function nameLOCCyclomatic complexityToken count
allocate_domain_info 29 3 173
allocate_domain_nsec3 21 2 162
numlist_make_last 32 5 192
numlist_pop_last 8 2 43
domain_can_be_deleted 10 5 54
domain_is_prehash 7 4 44
zone_del_domain_in_hash_tree 7 2 36
prehash_clear 11 2 59
prehash_add 10 3 62
prehash_del 12 3 87
do_deldomain 32 11 290
domain_table_deldomain 7 2 34
hash_tree_clear 10 3 59
hash_tree_delete 4 1 24
zone_add_domain_in_hash_tree 11 3 85
domain_table_create 35 5 245
domain_table_search 29 4 186
domain_table_find 10 2 46
domain_table_insert 36 6 201
domain_previous_existing_child 11 4 53
domain_add_rrset 21 8 141
domain_find_rrset 11 4 58
domain_find_any_rrset 11 3 48
domain_find_zone 16 5 84
domain_find_parent_zone 13 5 86
domain_find_ns_rrsets 11 4 62
find_dname_above 10 4 55
domain_is_glue 7 2 48
domain_wildcard_child 14 3 58
zone_is_secure 5 1 18
rr_rrsig_type_covered 7 1 63
namedb_find_zone 7 2 50
domain_find_non_cname_rrset 17 9 90
namedb_lookup 8 1 36
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/axfr.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/util.c
Function nameLOCCyclomatic complexityToken count
log_init 5 1 17
log_open 14 4 70
log_reopen 20 8 103
log_finalize 8 4 29
log_file 34 7 231
log_syslog 5 2 28
log_set_log_function 4 1 12
log_msg 7 1 38
log_vmsg 6 1 42
set_bit 4 1 32
clear_bit 4 1 32
get_bit 4 1 33
lookup_by_name 9 3 45
lookup_by_id 9 3 38
xalloc 9 2 43
xmallocarray 9 2 50
xalloc_zero 9 2 45
xalloc_array_zero 9 2 48
xrealloc 9 2 47
mmap_alloc 14 3 99
mmap_free 14 4 91
write_data 16 4 89
write_socket 18 5 92
get_time 16 4 101
timespec_compare 17 5 89
timespec_add 10 2 52
timespec_subtract 10 2 52
strtoserial 31 15 128
strtottl 61 26 246
hex_ntop 17 3 132
hex_pton 16 6 118
b32_ntop 59 14 418
b32_pton 33 11 220
strip_string 16 5 100
hexdigit_to_int 23 23 133
is_leap_year 4 3 28
leap_days 6 1 47
mktime_from_utc 20 4 132
compute_crc 7 2 43
write_data_crc 6 1 52
compare_serial 11 6 78
qid_generate 5 2 22
random_generate 6 3 43
cleanup_region 5 1 23
create_pretty_rr 11 1 67
set_previous_owner 7 1 49
print_rr 49 8 282
rcode2str 30 12 87
addr2str 15 5 98
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/query.h
Function nameLOCCyclomatic complexityToken count
query_get_dname_offset 4 1 23
query_overflow 4 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/answer.c
Function nameLOCCyclomatic complexityToken count
answer_init 4 1 14
answer_add_rrset 27 7 171
encode_answer 41 14 246
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dname.h
Function nameLOCCyclomatic complexityToken count
dname_label_offsets 4 1 29
dname_name 6 1 38
dname_label 9 1 58
dname_total_size 6 1 44
label_is_normal 5 1 26
label_is_pointer 5 1 26
label_pointer_location 6 1 48
label_length 6 1 28
label_data 6 1 27
label_is_root 5 1 22
label_is_wildcard 5 2 29
label_next 7 1 41
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/query.c
Function nameLOCCyclomatic complexityToken count
query_put_dname_offset 13 3 80
query_clear_dname_offsets 10 3 69
query_clear_compression_tables 9 2 58
query_add_compression_domain 13 2 82
query_error 16 2 104
query_ratelimit_err 12 3 56
query_formerr 9 2 66
query_cleanup 5 1 25
query_create 16 1 117
query_reset 30 2 191
query_get_tempdomain 11 2 84
query_addtxt 24 3 165
process_query_section 10 2 66
process_edns 29 11 185
process_tsig 29 5 244
answer_notify 86 19 665
answer_chaos 42 12 276
find_covering_nsec 21 7 101
add_additional_rrsets 44 10 325
answer_needs_ns 5 2 29
add_rrset 47 12 233
query_synthesize_cname 68 14 527
answer_delegation 28 8 187
answer_soa 9 2 44
answer_nodata 17 8 118
answer_nxdomain 5 1 28
answer_domain 52 19 386
answer_authoritative 117 31 816
answer_lookup_zone 60 31 435
answer_query 19 1 166
query_prepare_response 12 1 89
query_process 93 38 650
query_add_optional 61 20 509
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/edns.c
Function nameLOCCyclomatic complexityToken count
edns_init_data 13 1 140
edns_init_nsid 9 1 106
edns_init_record 9 1 44
edns_handle_option 20 3 100
edns_parse_record 48 11 272
edns_reserved_space 4 2 27
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/radtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udbzone.c
Function nameLOCCyclomatic complexityToken count
udb_zone_delete_plain 15 1 141
udb_dns_init_file 10 2 47
udb_dns_deinit_file 19 3 142
udb_zone_create 50 5 449
rr_delete 6 1 55
rrset_delete 18 2 161
domain_clear 16 2 135
domain_delete 7 1 52
domain_delete_unlink 11 1 100
udb_zone_clear 23 2 212
udb_zone_delete 11 1 93
udb_zone_search 15 3 114
udb_zone_get_mtime 13 2 86
udb_zone_set_log_str 21 4 167
udb_zone_set_file_str 21 4 167
udb_zone_get_file_str 17 3 114
select_nsec3_param 15 5 134
udb_nsec3param_string 18 2 189
zone_hash_nsec3param 14 3 102
domain_create 22 3 196
udb_domain_find 13 3 108
domain_find_or_create 8 2 66
domain_remove_rrset 25 4 196
rrset_create 22 5 215
udb_rrset_find 12 3 91
rrset_find_or_create 6 2 47
rr_match 6 4 65
rr_search 13 3 105
rr_create 14 2 115
rrset_add_rr 20 4 183
rrset_del_rr 27 4 214
udb_zone_add_rr 40 12 323
udb_zone_del_rr 41 14 339
udb_zone_walk_chunk 12 1 130
udb_domain_walk_chunk 9 1 85
udb_rrset_walk_chunk 9 1 81
udb_rr_walk_chunk 8 1 70
udb_task_walk_chunk 8 1 64
namedb_walkfunc 33 9 189
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/radtree.c
Function nameLOCCyclomatic complexityToken count
radix_tree_create 8 2 52
radix_tree_init 5 1 21
radnode_del_postorder 11 3 110
radix_tree_clear 6 1 32
radix_tree_delete 6 2 36
radnode_last_in_subtree 16 6 116
radnode_last_in_subtree_incl_self 7 3 38
radnode_first_in_subtree 14 5 96
radnode_find_prev_from_idx 13 4 68
radix_find_prefix_node 39 10 233
radnode_array_grow 18 4 172
radnode_array_space 41 14 409
radsel_str_create 10 2 84
bstr_is_prefix 9 3 50
bstr_common 9 4 68
bstr_is_prefix_ext 5 1 30
bstr_common_ext 5 1 30
radsel_prefix_remainder 11 2 82
radsel_split 122 20 1088
radix_insert 91 20 749
radnode_delete 10 3 96
radnode_cleanup_onechild 27 4 283
radnode_array_clean_all 8 1 57
radnode_array_reduce_if_needed 12 4 120
radnode_array_clean_front 22 7 187
radnode_array_clean_end 15 5 96
radnode_cleanup_leaf 19 4 153
radnode_cleanup 22 7 129
radix_delete 8 3 44
radix_search 28 9 184
ret_self_or_prev 7 2 37
radix_find_less_equal 61 16 444
radix_first 8 4 48
radix_last 5 3 30
radix_next 24 9 145
radix_prev 15 5 80
char_d2r 6 3 36
char_r2d 6 2 29
cpy_d2r 6 2 45
cpy_r2d 6 2 44
radname_d2r 40 7 263
radname_r2d 39 8 266
radname_insert 9 2 74
radname_delete 5 2 42
radname_search 62 19 373
radname_find_less_equal 103 24 602
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/zonec.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dns.h
Function nameLOCCyclomatic complexityToken count
operator ++ 5 1 26
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udb.c
Function nameLOCCyclomatic complexityToken count
chunk_from_dataptr 7 2 42
chunk_from_dataptr_ext 3 1 13
chunk_get_last 4 1 38
chunk_set_last 4 1 42
udb_base_create_fd 127 23 895
udb_base_create_read 10 2 64
udb_glob_init_new 6 1 33
write_fdata 14 3 96
udb_base_create_new 40 9 305
udb_base_shrink 11 3 87
udb_base_close 21 10 137
udb_base_free 10 2 46
udb_base_free_keep_mmap 13 3 72
udb_base_sync 9 5 62
chunk_hash_ptr 6 1 53
udb_ptr_is_on_bucket 11 3 76
grow_ram_hash 22 4 143
udb_base_link_ptr 20 6 154
udb_base_unlink_ptr 16 4 122
udb_base_ram_ptr_edit 15 3 88
udb_base_get_userdata 4 1 16
udb_base_set_userdata 5 3 43
udb_base_set_userflags 4 1 19
udb_base_get_userflags 4 1 15
udb_base_remap 36 9 311
udb_base_remap_process 4 1 23
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/server.c
Function nameLOCCyclomatic complexityToken count
delete_child_pid 18 6 142
restart_child_servers 87 11 708
set_bind8_alarm 5 2 41
zonestatid_tree_set 8 2 65
server_zonestat_alloc 73 11 741
zonestat_remap 22 7 228
server_zonestat_realloc 28 7 247
server_zonestat_switch 10 2 71
cleanup_dname_compression_tables 6 1 21
initialize_dname_compression_tables 21 3 126
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/region-allocator.c
Function nameLOCCyclomatic complexityToken count
alloc_region_base 32 3 201
region_create 16 3 96
region_create_custom 35 6 197
region_destroy 21 5 109
region_add_cleanup 19 3 146
region_remove_cleanup 13 4 91
region_alloc 59 11 423
region_alloc_init 7 2 47
region_alloc_zero 7 2 42
region_alloc_array_init 10 5 67
region_alloc_array_zero 9 5 60
region_alloc_array 9 5 60
region_free_all 35 5 216
region_strdup 4 1 32
region_recycle 37 10 241
region_dump_stats 25 7 176
region_get_recycle_size 4 1 13
region_get_mem 4 1 13
region_get_mem_unused 4 1 13
region_log_stats 36 7 239
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/remote.c
Function nameLOCCyclomatic complexityToken count
log_crypto_err 11 2 77
timeval_subtract 11 2 69
daemon_remote_create 81 15 525
daemon_remote_close 29 7 163
daemon_remote_delete 9 3 41
create_tcp_accept_sock 37 14 277
add_open 41 10 285
daemon_remote_open_ports 21 9 134
daemon_remote_attach 17 5 129
remote_accept_callback 86 19 544
state_list_remove_elem 6 3 54
stats_list_remove_elem 10 3 54
clean_point 15 4 95
ssl_print_text 17 4 92
ssl_print_vmsg 6 1 44
ssl_printf 9 1 47
ssl_read_line 26 6 145
skipwhite 6 2 26
send_ok 4 1 18
get_zone_arg 22 4 134
do_stop 8 2 47
do_log_reopen 5 1 22
do_reload 10 3 83
do_write 10 3 83
do_notify 22 4 134
do_transfer 22 4 139
force_transfer_zone 10 3 62
do_force_transfer 22 4 135
print_soa_status 12 4 77
print_zonestatus 62 27 441
do_zonestatus 14 4 89
do_verbosity 17 4 108
find_arg2 15 4 89
do_status 11 5 68
do_stats 13 3 97
zonestat_inc_ifneeded 8 3 59
perform_addzone 41 7 298
perform_delzone 36 6 236
do_addzone 6 2 35
do_delzone 6 2 35
do_addzones 19 7 117
do_delzones 19 7 117
remove_key 7 1 51
add_key 7 1 51
repat_keys 20 5 157
parse_implicit_name 8 2 47
remove_cfgzone 23 4 160
add_cfgzone 25 6 194
remove_pat 7 1 51
add_pat 7 1 51
repat_interrupt_zones 39 8 249
repat_interrupt_notify_start 14 5 76
repat_patterns 80 23 506
repat_options_changed 11 5 77
repat_options 11 3 87
print_ssl_cfg_err 7 3 49
do_repattern 31 6 208
do_serverpid 4 1 29
cmdcmp 4 4 51
execute_cmd 45 20 541
handle_req 34 8 256
remote_control_callback 71 15 470
opcode2str 11 6 48
print_longnum 11 2 98
print_stat_block 67 33 613
resize_zonestat 10 2 75
zonestat_print 37 11 357
print_stats 42 14 382
clear_stats 12 2 103
daemon_remote_process_stats 20 5 146
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/mini_event.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/iterated_hash.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dns.c
Function nameLOCCyclomatic complexityToken count
rrtype_descriptor_by_type 8 3 41
rrtype_descriptor_by_name 17 6 94
rrtype_to_string 11 2 59
rrtype_from_string 95 55 471
rrclass_to_string 12 2 83
rrclass_from_string 22 8 132
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-disk.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd-checkzone.c
Function nameLOCCyclomatic complexityToken count
usage 6 1 24
error 8 1 40
check_zone 24 3 175
writepid 4 1 15
unlinkpid 3 1 12
bind8_stats 3 1 12
sig_handler 3 1 10
main 33 6 188
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-tcp.c
Function nameLOCCyclomatic complexityToken count
xfrd_pipe_cmp 17 7 149
xfrd_tcp_set_create 14 2 99
xfrd_tcp_pipeline_create 13 2 110
xfrd_setup_packet 16 1 111
xfrd_acl_sockaddr 22 4 162
xfrd_acl_sockaddr_to 6 3 54
xfrd_acl_sockaddr_frm 6 3 48
xfrd_write_soa_buffer 21 1 241
xfrd_tcp_create 9 1 66
pipeline_find 25 6 200
tcp_zone_waiting_list_popfirst 10 2 61
tcp_pipe_sendlist_remove 12 4 77
tcp_pipe_sendlist_popfirst 8 2 48
tcp_pipe_id_remove 10 2 105
xfrd_tcp_pipe_stop 19 4 142
tcp_pipe_reset_timeout 16 5 133
xfrd_handle_tcp_pipe 21 7 149
pipeline_setup_new_zone 24 3 183
xfrd_tcp_obtain 71 13 463
xfrd_tcp_open 80 17 583
xfrd_tcp_setup_write_packet 34 9 295
tcp_conn_ready_for_reading 6 1 28
conn_write 51 14 402
xfrd_tcp_write 49 13 296
conn_read 56 20 384
xfrd_tcp_read 61 14 320
xfrd_tcp_release 35 10 281
xfrd_tcp_pipe_release 43 8 322
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/axfr.c
Function nameLOCCyclomatic complexityToken count
query_axfr 114 22 681
answer_axfr_ixfr 44 13 307
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udbradtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dbaccess.c
Function nameLOCCyclomatic complexityToken count
namedb_close 12 3 54
namedb_close_udb 7 2 28
apex_rrset_checks 35 8 280
read_rr 19 2 156
calculate_rr_count 12 2 75
read_rrset 24 4 218
read_node_elem 25 5 207
read_zone_recurse 20 5 163
read_zone_data 11 2 95
namedb_zone_create 31 2 210
namedb_zone_delete 28 7 219
read_zone 23 5 184
read_zones 19 3 154
try_read_udb 23 3 142
namedb_open 55 12 352
file_get_mtime 16 4 100
namedb_read_zonefile 112 31 842
namedb_check_zonefile 11 2 84
namedb_check_zonefiles 9 2 60
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dbcreate.c
Function nameLOCCyclomatic complexityToken count
add_rdata 22 5 144
rr_marshal_rdata 10 2 65
udb_del_rr 9 1 80
udb_write_rr 15 2 120
write_rrset 9 3 60
write_zone 26 10 208
write_zone_to_udb 28 4 219
print_rrs 47 11 291
print_header 11 4 112
write_to_zonefile 26 5 163
create_dirs 25 5 138
create_path_components 14 3 75
namedb_write_zonefile 75 21 623
namedb_write_zonefiles 7 1 40
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-notify.c
Function nameLOCCyclomatic complexityToken count
notify_send_disable 8 2 45
notify_disable 27 7 141
init_notify_send 19 1 165
xfrd_del_notify 22 6 157
xfrd_handle_notify_reply 25 6 153
xfrd_notify_next 12 2 59
xfrd_notify_send_udp 46 9 355
xfrd_handle_notify_send 34 9 222
setup_notify_active 16 4 124
notify_enable 29 6 174
xfrd_notify_start 10 5 73
xfrd_send_notify 9 2 58
notify_handle_master_zone_soainfo 13 7 92
close_notify_fds 9 2 36
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rbtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rrl.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/tsig.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd.h